PDA

View Full Version : Issue with checkin unchekcing of Checkboxselectionmodel



kumar_Rajesh78
15 Nov 2013, 4:07 PM
I have this situation. I am using Checkboxselectionmodel like this. The problem is that as soon as I select a row, the checkbox for that row gets checked.
I want to be able to select multiple rows without checking the box. It should allow me to check the boxes for whichever Items I want.




var smDuration = new Ext.grid.CheckboxSelectionModel(
{ singleSelect: false,
checkOnly: false,
listeners:{
rowselect: function(sm, rowIndex, r) {


Could you please suggest me a way to achieve this.

Thanks a lot in advance,
Rajesh

slemmon
19 Nov 2013, 4:16 PM
It looks like it's working ok for me:
You'll need to use shift to select groups of records or Ctrl/Option to select/unselect rows individually while preserving existing selections.

1lr