Need advice on Editable Grids

1 reply. Last post: June 19, 2013 3:08 AM by Yudi
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Bill GowerMember

in my app i have multiple places where i will be using editable grids. The ClientEditingEditViewModel has all the code for the preparing new rows, inserting, canuseradd etc. It seems like the code from this module for the methods and properties for an editable grid are just copied into each ViewModel that handles a grid rather than creating a generic ViewModel that handles all grids. Am I correct in thinking that?

example

CustomerEditViewModel / ProductsEditViewModel / CategoriesEditViewModel


All of these would start out with all the properties and methods that are in ClientEditingViewModel and each would have specific methods and properties for the applicable model. Is that correct?

All times are GMT -5. The time now is 3:29 AM.
Previous Next