View Full Version : GridPanel store not available until after render?

13 Aug 2012, 7:03 PM
I have a grid panel that is inside a form that pops up when a user hits a button. Before I show that form I go to the server to get some default values. However when I try and select some values in the grid panel I get an exception that the store is undefined.

I would like to set the values in the form before I show it to the user so that there is no lag between when I show them the form and the default values get set. Is there any why to tell my gridpanel to set up its 'store' property before its rendered?

13 Aug 2012, 8:24 PM
Are you defining the store in the grid? If you define the store before, you can access it when you need.