Reputation: 11128
I need to scrollByDeltaY after data is loaded. What event I need to take? All events, I found, works before data is shown, and scroll doesn't work.
Upvotes: 0
Views: 6722
Reputation: 1023
I use the refresh event of the gridview, works much better for me then the store load event:
Ext.create('Ext.grid.Panel', {
viewConfig: {
listeners: {
refresh: function(view) {}
}
}
});
Upvotes: 2
Reputation: 1378
Subscribe the grid's store "load" event and the do your scrollByDeltaY code.
myNiceGrid.getStore().on("load", myCcrollByDeltaYFunction);
Upvotes: 1