• Material 3
  • Material 3 Dark
  • Fluent
  • Fluent Dark
  • Bootstrap v5
  • Bootstrap v5 Dark
  • Tailwind CSS
  • Tailwind CSS Dark
  • Material
  • Bootstrap v4
  • High Contrast
Preferences
Mode Selection
Touch
Mouse
Theme Selection
Localization
*Translated by Google Translator.
Currency
Essential Studio
HOME
All Controls

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.

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.

Transform your ASP.NET Core web apps today with Syncfusion ASP.NET Core components
85+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE