Skip to content

Commit

Permalink
fix(selection): reset selectedCount on clearSelectedRows
Browse files Browse the repository at this point in the history
If your data  is completely replaced by another array, then you need to call clearSelectedRows and it wasn't resetting the selectionCount
  • Loading branch information
swalters committed Sep 16, 2015
1 parent 4122186 commit 880ce19
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/features/selection/js/selection.js
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,7 @@
});
service.decideRaiseSelectionBatchEvent( grid, changedRows, evt );
grid.selection.selectAll = false;
grid.selection.selectedCount = 0;
},

/**
Expand Down

0 comments on commit 880ce19

Please sign in to comment.