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
While using TreeGrid in a touch device, you have an option to select the checkboxes by tapping on the checkbox.
More information on the checkbox selection configuration can be found in this documentation section.