Skip to content

Commit 880ce19

Browse files
committed
fix(selection): reset selectedCount on clearSelectedRows
If your data is completely replaced by another array, then you need to call clearSelectedRows and it wasn't resetting the selectionCount
1 parent 4122186 commit 880ce19

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/features/selection/js/selection.js

+1
Original file line numberDiff line numberDiff line change
@@ -554,6 +554,7 @@
554554
});
555555
service.decideRaiseSelectionBatchEvent( grid, changedRows, evt );
556556
grid.selection.selectAll = false;
557+
grid.selection.selectedCount = 0;
557558
},
558559

559560
/**

0 commit comments

Comments
 (0)