I''d like to change the state that a TreeNode goes to when clicked when in an indeterminate state. (ie if InteractiveCheckBox is set and the children check states are mixed). By default it goes to checked, I''d like to change that to unchecked.
I can change it by changing the check state in the BeforeCheck event and cancelling, but by doing that I lose the AfterCheck event (and it thinks the change was cancelled). Any suggestions?
ADAdministrator Syncfusion Team June 30, 2005 06:52 PM UTC
I think it would be easier to disable InteractiveCheckBox and implement something yourself.
The algorithm I would use is as follows:
-If the node was unchecked, uncheck its parent
-If the node was checked, check all of its children
Does that accurately represent your requirements?