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

Example of Checkbox Column in ASP.NET MVC Tree Grid Control

This sample demonstrates the checkbox column selection functionality of Tree Grid. 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 Tree Grid 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 Tree Grid in a touch device, you have an option to select the checkboxes by tapping on the checkbox.

More information on the paging configuration can be found in this documentation section.

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