We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

TreeViewAdv indeterminate state

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? Thanks, Sue

1 Reply

AD Administrator Syncfusion Team June 30, 2005 06:52 PM UTC

Hi Sue, I think it would be easier to disable InteractiveCheckBox and implement something yourself. The algorithm I would use is as follows: AfterCheck event -If the node was unchecked, uncheck its parent -If the node was checked, check all of its children Does that accurately represent your requirements? Regards, Gregory Austin Syncfusion Inc.

Live Chat Icon For mobile
Up arrow icon