How to uncheck all nodes?

Is there a simple way to have all the nodes unchecked?  If not, can you give a sample code to uncheck all parents, children and grandchildren?


1 Reply

MS Malini Selvarasu Syncfusion Team March 26, 2025 08:53 AM UTC

Hi Jeff,

Based on the information provided, we understand that you need to uncheck all nodes in TreeViewAdv.

  • If you are using a data-bound collection such as DataTable, DataRelation, or Object Relation, you can uncheck the nodes using the CheckedMember property. This property gets or sets the field that determines the checkbox state of TreeNodeAdv in TreeViewAdv.
  • If you are using an unbound collection, you can uncheck the nodes using the CheckState property of TreeNodeAdv.

To assist you further, we have prepared a sample demonstrating both collection types. Please review the sample and let us know if it meets your requirements.

 

If we have misunderstood your request or if your requirements differ, kindly provide additional details. This will help us better understand your needs and deliver a more tailored solution.

 

Thank you for your cooperation and understanding.


Regards,
Malini Selvarasu


Attachment: TreeViewAdv_Demo_14718115.zip

Loader.
Up arrow icon