Skip to content

Commit 5ffefaf

Browse files
committed
fix(Selection): Change api for getSelectAllState()
It was taking a grid argument despite not needing one, and the documentation was out of sync. Fixes #2086
1 parent fa352e7 commit 5ffefaf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/features/selection/js/selection.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -240,9 +240,8 @@
240240
* grid doesn't automatically select rows when you add extra data - so when you add data
241241
* you need to explicitly check whether the selectAll is set, and then call setVisible rows
242242
* if it is
243-
* @param {bool} modifierKeysToMultiSelect true to only allow multiple rows when using ctrlKey or shiftKey is used
244243
*/
245-
getSelectAllState: function (grid) {
244+
getSelectAllState: function () {
246245
return grid.selection.selectAll;
247246
}
248247

0 commit comments

Comments
 (0)