Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1935
WinTree with NodeStyle = CheckBox or CheckBoxTriState ?
posted

Hello wonderful support :)

i have a UltraTree with NodeStyle  as a CheckBoxTriState .

i am looking to make it as a standard intuitive functionality tree as seen in Windows OS. 

basically for the ParentNode to correspond to the selection of the ChildNodes and vise versa

this can be defined by  the following rules :

1. when only part of the ChildNodes are checked then the ParentNode is at the TriState

2. when none of the ChildNodes are checked then the ParentNode is unchecked as well

3. when all the ChildNodes are checked then the ParentNode will also be checked.

4. when checking the ParentNode all the ChildNodes will be checked

5. when unchecking the ParentNode all the ChildNodes will be checked.

example :

i am not looking for you to write the code for me , i can handle coding the above stated rules but was wondring if this can be achieved by "playing" with the properties/overrides in ways that are more familiar to you compared to me. unless you might have an example for me ?

many thanks :) again and again

 

Parents
No Data
Reply Children