react-checkbox-tree
react-checkbox-tree copied to clipboard
Ability to select all
How can we select all the nodes. Can we have a button say "Select All" which can select all the nodes at the click(and may be a select none button)
The check/uncheck all can be achieved by having a single root level node. You can expand the root by default so that the tree is functionally similar to what you originally had, and checking/unchecking the root will effectively achieve what you are asking.
@jakezatecky could u please provide an example?