• Material
  • Fabric
  • Bootstrap
  • Bootstrap v4
  • High Contrast
Preferences
Theme Selection
Mode Selection
Touch
Mouse
Essential JS 2
HOME
All Controls

Button

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.

DEMO
SOURCE

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.