-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ObjectTable: select all on current page only
The default behaviour of the DataTable "select all" checkbox will select all items in the table, including those not on the current page. This has been overridden. Due to the limitations of DataTable emits (they don't consistently return a list of objects sorted in the same order as they're displayed), document.querySelector() is used to directly find out what's actually on the current DataTable page.
- Loading branch information
1 parent
40e1328
commit db5b4b0
Showing
1 changed file
with
48 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters