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
There currently does not exist an option for a checkbox outside of the main tree to toggle all nodes. The best way to allow a user to check/uncheck all nodes would be to have a single root-level node and add its value to the expanded array. That would essentially accomplish the purpose of checking all nodes but it would be within the tree.
I have considered adding a check all/uncheck all option like there is expand all/collapse, but decided against it due to the above solution.
Yeah i do understand that but my structure is different. I have Multiple tabs each tab contains react checkbox tree. and i refer that tab to whole tree.
Plz refer the attach file to see my structure. and ignore what is written on it.
I would not be opposed to adding checkAllNodes and uncheckAllNodes methods to the tree instance that you could invoke using a React ref. However, you would have to create whatever element in the interface to expose this action to the user.
I want to check all the checkbox with outside checkbox.
It is possible now ??
If not will you consider doing that ??
The text was updated successfully, but these errors were encountered: