I had previously been handling the viewready event in my grid to automatically select the first row after the data was loaded. The viewready event is no longer available, so is there another way to accomplish this?

3 May 2011, 1:04 PM

AmandaK

I think I've figured it out. For anyone else who's having this issue, the afterrender event of the Ext.grid.Panel seems to provide the same functionality.

23 May 2011, 6:32 AM

Mr_Rainbow

Ext.grid.View refresh event seems to be a closer match.

I found that the Grid 'afterrender' event was occurring before the view was ready with the data display, so I changed my code to listen to the grid.View 'refresh' event. Here is a code snippet: