View Full Version : Store Association with grid

22 Sep 2014, 5:36 AM

i am using a store which is named as UserStore and i am providing the name of store in the folder structure is same. and i am giving storeId as userStore i am assigning this store to a grid to use some data.

My question is -
is it neccessary that storeid and store class name should be same ?
in grid we give store property with the storeId.. Always ?
and the name appears in the class name structure and name defined in the class declaration, it should be same ? i think it works with the diffent name.

Please suggest on these basics.


22 Sep 2014, 7:00 AM
Start with this http://docs.sencha.com/extjs/4.2.2/#!/guide/data

23 Sep 2014, 2:20 AM
Thanks, but this document doesn't states about the storeId. there is a note about storeId in sencha docs-

Note that when store is instatiated by Controller, the storeId will be overridden by the name of the store.

So anyone please suggest that how StoreId and class name is related !!