PDA

View Full Version : Grid with rows pre-selected



harsha_velicheti
3 Nov 2009, 7:29 AM
Hi,
I need to select some rows while loading the grid, i tried to use

rowselectionmodel.selectRow(id) in the afterrender event of the gridpanel, but this does not select the required rows.
Please let me know in which event to use the rowselectionmodel to select the rows.

Thanks in advance
Harsha

3 Nov 2009, 8:31 AM
it should be rowIndex, not rowId