• 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 Selection in ASP.NET Core Tree Grid Control

This sample demonstrates the selection functionality of the TreeGrid using checkbox selection, To select and unselect all rows use header checkbox. To select/unselect particular row, click the desired row.

DEMO
SOURCE

TreeGrid mutliple selection can be achieved with help of checkbox in each row. To render checkbox in each treegrid row, you need to define column type as checkbox using columns->type property.

Selection can be persisted on all the operations using selectionSettings-> persistSelection property. For persisting selection on the TreeGrid, any one of the column should be defined as a primary key using columns->isPrimaryKey property.

In this demo, Tree Grid mutliple selection has been enabled with selection persistance.

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