Currently I have an application where I created a layout with two regions. Out of two regions one is header and the other one is content region which gets populated by grid data.
I have 3 Itemviews to replace my content region. Now I want to know how do I store the values of the rows selected in the first itemview and display it in the third view. What I tried is I created a model object in layout and using that model in all the views to set and get as if it is a shared object and any view can access using layout.model.set() or layout.model.get().
Creating a model in layout is not a good approach it seems. What is the other way of sharing the data? If I use individual view specific model object then the data set in one view is not accessible to another view as the model gets created using new operator.