View Full Version : Load Data Dynamically

5 Jun 2014, 2:49 AM

We are using Ext Js 4.2.2.

We need to load the data automatically when the store data changes without refreshing the page.
We have set the "autoload" property to true. But its not updating the data in the grid when the store changes. Even If I navigate between the Tabs also, the grid data still not changing. Grid data is changing only when I refresh the browser.

How can I load the data whenever the data changes in the store.
And what is the grid event that will be fired after loading the data?

Please help!!!


5 Jun 2014, 9:50 AM
The grid should automatically refresh when the store is updated, call to store.load(). There should be no reason to refresh the browser page.

Perhaps a small example of your code:

btw, Autoload is for when the store is created, to load the data .. not to monitor store and reload.