PDA

View Full Version : select a specific row in grid



faik
24 Nov 2010, 7:23 AM
Hi all ,

I would like to select a specific row in grid

there is any one who can help me plz ?

thanks :)

fay
24 Nov 2010, 2:54 PM
grid.getSelectionModel().selectRow(rowIndex);

Condor
25 Nov 2010, 7:32 AM
Optionally followed by:

grid.getView().focusRow(rowIndex);

ps. This is only possible after the rows have rendered (e.g. from the store load event or grid viewready event).