PDA

View Full Version : global store



prakashkadakol
29 May 2012, 3:05 AM
Hi

How i can create global store????

scottmartin
29 May 2012, 7:53 AM
What is your intent here?

When you define/create a store you can access it as needed

var mystore = Ext.create('Ext.data.Store', { .. } ); // mystore.load()

Ext.define('myStore', {
extend: 'Ext.data.Store',
..
}

Also have a look at creating a store in the storeManager (storeId) and you can then reference it from there.

Regards,
Scott.