PDA

View Full Version : Playing with datastore in firebug.



modonnell
9 Nov 2009, 12:43 PM
I thought there was a way to play with a datastore in firebug. How can I access my datastore. Isn't there something comparable to Ext.getCmp or will that work to access a data store?

michaelc
9 Nov 2009, 12:56 PM
you can go to the console
and run var gridDevice = Ext.getCmp('EAdminDistributionManager-device-grid');
then check the dom and find the element.

is that what you want to do ?

VinylFox
9 Nov 2009, 2:14 PM
Add a storeId to your store upon creation, and use the store manager to retrieve the store.

http://www.extjs.com/deploy/dev/docs/?class=Ext.StoreMgr

modonnell
18 Nov 2009, 1:59 PM
michaelc and vinylfox, that helps a lot. Thanks!