lundi 2 février 2015

Parent child views with separate but bound models

I didn't see anything on the forum about this type of scenario. What I want to do is is a user detail view (grid/form panel) but the grid and form are in separate views. I want to bind the grid to a users store and then let row selection update the form based on the values in the select record in the grid row.

I was thinking that this could be done via view models..


ParentView

|

+viewModel(parent)

|--+ childview

|--+childViewModel(child)


I basically want to click on a row in a grid and update the child view model.


Any guidance would be appreciated.






Parent child views with separate but bound models

Aucun commentaire:

Enregistrer un commentaire