Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate "Select All" button/checkbox support #165

Closed
aleksmaksiuta opened this issue Apr 29, 2022 · 2 comments
Closed

Separate "Select All" button/checkbox support #165

aleksmaksiuta opened this issue Apr 29, 2022 · 2 comments
Assignees
Labels
feature request New feature requested

Comments

@aleksmaksiuta
Copy link

Problem: User wants to use separate checkbox/button to select all items per click

Solution: Library provides an api to add a store/selection reference to be able to select programmatically all items via button, so I can:

  1. Select all items using separate button.
  2. Inside a callback function described in p.1 programmatically select all/partial set of items
@aleksmaksiuta aleksmaksiuta added the feature request New feature requested label Apr 29, 2022
@vdnhi
Copy link
Contributor

vdnhi commented May 5, 2022

Personally, I don't think this function is the goal of this library. It is very trivial to implement your own in your application to select all the items.

@aleksmaksiuta
Copy link
Author

Personally, I don't think this function is the goal of this library. It is very trivial to implement your own in your application to select all the items.

Maybe I wasn't clear enough. After selecting all items via Select All button, my code adds class "selected" to selected items, but library doesn't update its internal state according the changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature requested
Projects
None yet
Development

No branches or pull requests

3 participants