Although it is quite easy to reload the data that underlies an Ext JS GridPanel, I spent some time figuring out how to do it, especially because the first result on my search on Google leaded me into a wrong direction…
Ext.getCmp('<GridPanel-ID>').getStore().reload();
That’s all you need! Get your GridPanel by its ID and reload its DataStore. The data will be fetched from the ressource specified and the GUI will be refereshed immediately.
Autor: Andre Kolell
Datum: Donnerstag, 20. August 2009, um 12:40 Uhr
Thema: Ext JS
Trackback: Trackback-URL | Feed zum Beitrag: RSS 2.0