@@ -521,8 +521,8 @@ Checkboxes.prototype = {
521
521
if ( self . s . ignoreSelect ) { return ; }
522
522
523
523
if ( type === 'row' ) {
524
- self . updateCheckbox ( 'row' , indexes , ( e . type === 'select' ) ? true : false ) ;
525
524
self . updateData ( 'row' , indexes , ( e . type === 'select' ) ? true : false , true ) ;
525
+ self . updateCheckbox ( 'row' , indexes , ( e . type === 'select' ) ? true : false ) ;
526
526
527
527
// Get index of the first column that has checkbox and row selection enabled
528
528
var colIdx = self . getSelectRowColIndex ( ) ;
@@ -816,8 +816,8 @@ Api.registerPlural( 'columns().checkboxes.select()', 'column().checkboxes.select
816
816
selector . push ( { row : rowIdx , column : colIdx } ) ;
817
817
} ) ;
818
818
819
- ctx . checkboxes . updateCheckbox ( 'cell' , selector , ( select ) ? true : false ) ;
820
819
ctx . checkboxes . updateData ( 'cell' , selector , ( select ) ? true : false , allowDups ) ;
820
+ ctx . checkboxes . updateCheckbox ( 'cell' , selector , ( select ) ? true : false ) ;
821
821
822
822
// If row selection is enabled
823
823
if ( ctx . aoColumns [ colIdx ] . checkboxes . selectRow ) {
@@ -846,8 +846,8 @@ Api.registerPlural( 'cells().checkboxes.select()', 'cell().checkboxes.select()',
846
846
if ( ctx . checkboxes ) {
847
847
var selector = [ { row : rowIdx , column : colIdx } ] ;
848
848
849
- ctx . checkboxes . updateCheckbox ( 'cell' , selector , ( select ) ? true : false ) ;
850
849
ctx . checkboxes . updateData ( 'cell' , selector , ( select ) ? true : false , allowDups ) ;
850
+ ctx . checkboxes . updateCheckbox ( 'cell' , selector , ( select ) ? true : false ) ;
851
851
852
852
// If row selection is enabled
853
853
if ( ctx . aoColumns [ colIdx ] . checkboxes . selectRow ) {
0 commit comments