TreeGrid multiselection example
Nobody has claimed this yet.
- Dominant language
- AsciiDoc
- Stars
- 38
- Forks
- 225
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 170
Description
A relatively common usage for TreeGrid is hierarchical selection. Since TreeGrid is based on Grid, the selection doesn't care anything about hierarchy; you just select rows. It would be useful to have a code example of how you can implement multiselection in a TreeGrid so that e.g. selecting a parent node automatically selects all of its children as well, and vice versa.
Even better would be an example where selecting a parent and then deselecting one of its children shows the parent as having a partial selection (indeterminate state checkbox).
If you think this issue is important, add a 👍 reaction to help the community and maintainers prioritize this issue.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the TreeGrid documentation and the Grid-based selection behavior described in the issue. Add a code example covering parent-child multiselection, including the indeterminate parent state after a child is deselected; the documentation is done when both interactions are demonstrated clearly.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100