PDA

View Full Version : [3.2.1] EditorGridPanel doesn´t highlight first row in FireFox



defcon1
2 Aug 2010, 12:30 AM
Hi,

I am using a EditorGridPanel, inside the load-event of the relating store I am doing this:



gridpanel.getSelectionModel().selectFirstRow()


Firefox selects the first record, but doesn´t highlight it inside grid panel. With Chrome it works.

Best regards
d1 ;)

Condor
2 Aug 2010, 1:08 AM
It's a matter of timing. You can only select the first record after the grid rows are rendered. So if your grid isn't rendered yet when the store is loaded, the first row won't be selected.

Try one of the following:
1. Load the store from the grid viewready event.
2. Configure the grid with deferRowRender:false.