Example of Checkbox Column in ASP.NET Core Tree Grid Control
This sample demonstrates the checkbox column selection functionality of TreeGrid. Click on any parent record checkbox then the child record checkboxes will get selected and parent record checkbox will get selected while checking all of its child items.
The TreeGrid component can be rendered with checkbox on existing column and also this can be enabled by showCheckbox
property as true in columns API.
For hierarchy selection between the records, we need to enable the autoCheckHierarchy
property.
While using TreeGrid in a touch device, you have an option to select the checkboxes by tapping on the checkbox.
More information on the TreeGrid instantiation can be found in this documentation section.