View Full Version : ExtJS 4.0.7, how to show spinning icon before grid panel column is resized?

18 Sep 2013, 1:25 PM

I am using Ext JS 4.0.7. I have a grid panel that has about 1000 records. Re-sizing grid columns takes 2-3 seconds, so I want to show a spinning icon right before re-sizing and remove that after columns are re-sized.
Is there an event similar to startResizeColumn or afterResizeColumn events?

1 Oct 2013, 4:07 PM
You won't be able to show an indicator in this situation I'm afraid. The lapsed time is spent re-drawing the grid markup which is a synchronous operation -vs- an asynchronous operation like an AJAX request to a server. So, the mechanism that would render the mask / indicator would also be locked up during the column resize.

Would you be able to upgrade the application to 4.2 (4.2.1 is actually the current public stable release) and use the grid's bufferedrenderer plugin so that less rows are rendered at a given time? If so the resize issue you're seeing could be addressed by simply having less DOM that is needing to be redrawn.

2 Oct 2013, 9:34 AM
Thanks for the information.