Skip to content

Commit

Permalink
fix(selection.js): When enableSelection is false, row cannot be toggled.
Browse files Browse the repository at this point in the history
fix #5665
  • Loading branch information
Portugal, Marcelo authored and mportuga committed Mar 31, 2018
1 parent 1b080b9 commit 3326060
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/selection/js/selection.js
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@
toggleRowSelection: function (grid, row, evt, multiSelect, noUnselect) {
var selected = row.isSelected;

if (row.enableSelection === false && !selected) {
if (row.enableSelection === false) {
return;
}

Expand Down

0 comments on commit 3326060

Please sign in to comment.