I am unable to select multiple rows dynamically for grid having Ext.selection.CheckboxModel.
I have indexes for the rows which I want to select. What is happening is after select call.
for(var i=0;i<count;i++){
Ext.getCmp('loadFrameStateInfoTable').getSelectionModel().select(oldStateSelection[i].index);
}
I got the selection in grid but for only one row. That's the row which index is coming last from oldStateSelection[i].index
.
The grid should have all rows selected.