You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consider a UI like the one below. The checkboxes at the top should be select-all boxes for their respective check the boxes in their respective columns.
I'm happy to contribute code for this.
The API must remain backwards compatible so here is my thinking:
Change checkboxAll to be an Array
Add a data-checkbox-select-all-group= param to each checkbox. Boxes with matching groups go together.
For this example it would look something like this:
If group is not set then that checkbox is part of the "ungrouped group" by default. get checked() and get unchecked() have to continue to use the "ungrouped group" for backwards compatibility but we could add getCheckedGroup(group) and getUncheckedGroup(group) methods in parallel for users that need this feature.
What do you think?
The text was updated successfully, but these errors were encountered:
Consider a UI like the one below. The checkboxes at the top should be select-all boxes for their respective check the boxes in their respective columns.
I'm happy to contribute code for this.
![OCR Line Items modal window](https://private-user-images.githubusercontent.com/3028205/318147512-b5edadc1-6f8f-4ef4-84ae-e4ebe79cf23c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk2NTgyODEsIm5iZiI6MTcxOTY1Nzk4MSwicGF0aCI6Ii8zMDI4MjA1LzMxODE0NzUxMi1iNWVkYWRjMS02ZjhmLTRlZjQtODRhZS1lNGViZTc5Y2YyM2MucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYyOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MjlUMTA0NjIxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZDFmODNiZjQzMzZlOTJkYzgyZjhkZDNkNTk5MDE0MjBhMmIwNDhiNGNhMGVlNzI4NmRmZDQ2ZjRjZTE5NmI4ZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.hzdVu1UEGaS6BAhpNCt9JHTyLWGp80TjdY8NpVu9hLA)
The API must remain backwards compatible so here is my thinking:
data-checkbox-select-all-group=
param to each checkbox. Boxes with matching groups go together.For this example it would look something like this:
If group is not set then that checkbox is part of the "ungrouped group" by default.
get checked()
andget unchecked()
have to continue to use the "ungrouped group" for backwards compatibility but we could addgetCheckedGroup(group)
andgetUncheckedGroup(group)
methods in parallel for users that need this feature.What do you think?
The text was updated successfully, but these errors were encountered: