-
How to refresh GridPanel
How to refresh GridPanel
I have a simple gridpanel with a JsonStore, and want to change the
contents of the grid using something like
this.getStore().load()
where this is the Ext.grid.GridPanel
the baseParams will be changed before the load so I will receive
a different list of items.
I've tried this, but nothing seems to happen. No errors.
-

Originally Posted by
silcreval
I have a simple gridpanel with a JsonStore, and want to change the
contents of the grid using something like
this.getStore().load()
where this is the Ext.grid.GridPanel
the baseParams will be changed before the load so I will receive
a different list of items.
I've tried this, but nothing seems to happen. No errors.
Try
this.getStore().reload()
-

Originally Posted by
silcreval
but nothing seems to happen. No errors.
Did you check firebug to see if an XHR was sent? What was the POST? What was the RESPONSE?
Did you consult the Grid FAQ for all the usual debugging tips?
-
[SOLVED] How to refresh GridPanel
[SOLVED] How to refresh GridPanel
Thanks - reload worked perfectly.
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us