PDA

View Full Version : issue in getSelectionModel() of grid



2 Mar 2010, 8:43 PM
In a GridPanel i tried this code
grid.getSelectionModel().selectRow(2,true);
then i took
console.log(grid.getSelectionModel());
that row not shown as selected item list...

in the grid panel it show as selected but whn i grid.getSelectionModel() this row not in selected item.
i alert grid.getSelectionModel().getCount() this result also not included tht 2nd item as selected.

anyone plz help