PDA

View Full Version : Using a single store on multiple grids and dropdowns



Anthony.Hall
6 Aug 2012, 8:43 AM
I have a store "Contacts". In my application i'm using this in 2 grids and 1 combo box. In Each of these components have varying screen space so i need to define pageSize. What is the best practise for this scenario. Is it better do create 3 different stores. ( I'm using MVC ) . If so, are there naming conventions.

scottmartin
14 Aug 2012, 11:03 AM
I think this depends on your setup. In most cases, I would think each combo would have it's own store to load unique data relevant to the field and the grid would have the main store.

Scott.