The datapack itself never downloads all available data, it only shows a sub-selection of data in its repository.
You need to bind store events to catch the onload event. Since the store can load data from a large number of places, you need to pass the onComplete function to the fetch method in the grid store.
grid.store.fetch({onComplete : function (items) { // Do something }});
You can also create the repository programmatically, invoke fetching using your onComplete listener, and as soon as you finish modifying the items in the onComplete store, call myGrid.setStore (myStore);
source share