PDA

View Full Version : Events: Grid, before data load event



vick_44
29 May 2018, 2:53 AM
Is there a way to capture an event just after store load yet just before grid data load?

Based on the data in a store I need to decide to hide/display few specific columns in a grid. But the step to hide/unhide a column is very taxing if there is large data in the grid. Is there any event available which would put me in a place where store load is complete but the data from it hasnt been loaded onto its grid yet?

Any pointers is much appreciated.

twaindev
30 May 2018, 1:49 AM
beforerefresh (https://docs.sencha.com/extjs/4.2.6/#!/api/Ext.grid.View-event-beforerefresh)?