The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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
ADAdministrator 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.