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

Checkbox event for TreeView?

I am trying to create a program where if I check or uncheck checkbox from a treeview, it updates a listview dynamically with whatever child items the user checks.
My treeview is similar to the one in the documentation here:

Is there an event handler I can use in C# that will allow me to update a syncfusion listview with the checked items oncheck (both check and uncheck to add/remove from the listview respectively)?

1 Reply

MK Muthukrishnan Kandasamy Syncfusion Team November 15, 2019 05:31 AM

Hi Brian, 
 
Thanks for contacting Syncfusion support. 
 
In our TreeView component we have an event NodeChecked to identify the node checked/unchecked successfully. Using this event, you can identify the corresponding node checked/unchecked in TreeView component. We have prepared sample for your convenience. Refer to the below link for the sample. 
 
Sample link:  
 
 
Please let us know if you have any concerns. 
 
 
Regards, 
Muthukrishnan K 


Loader.
Live Chat Icon For mobile
Up arrow icon