Posted 15 December 2020, 9:53 pm EST
Hi,
I am using the TreeView control in an ASP.NET Core Project.
I need to have checkboxes to enable selection of one or many nodes.
I have followed instructions here: https://www.grapecity.com/componentone/docs/mvc/online-mvc-core/UsingCheckBoxes.html and got the tree view to display properly with checkboxes but I need to have different behaviour regarding the parent / child nodes automatic selection.
The parent nodes needs to be “checkable” on their own, even if not child node is selected.
Basically the easiest way would be to disable the “auto checking” relationship between parent and child nodes, and let each node be checked separately. Is there any way to achieve this?
As an example, if I take the link provided below (https://www.grapecity.com/componentone/docs/mvc/online-mvc-core/UsingCheckBoxes.html), I would like to be able to select “Electronics” without any children for example.
Thanks for your help