Results 1 to 2 of 2

Thread: GridPanel store not available until after render?

  1. #1

    Default GridPanel store not available until after render?

    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?

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,410

    Default

    Are you defining the store in the grid? If you define the store before, you can access it when you need.

    Scott.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •