PDA

View Full Version : Ext.grid.GridPanel selectFirstRow



luca.santaniello
24 Feb 2010, 2:02 AM
Hi all,

I want select first row and color my selected row. I use this code:

addresses.getSelectionModel().selectFirstRow();

addresses is my Ext.grid.GridPanel.

If I click manually on the row, it is colored gray

If I call .selectFirstRow() method, row is selected but it isn't colored.

Can I color my row automatically?

Thanks

Luca