Blazor Tree Grid Example - Checkbox Selection

Tree Grid / Selection / Checkbox Selection

This sample uses checkbox selection to demonstrate the Tree Grid's selection functionality. Use the header checkbox to select and deselect all rows. To select or deselect a specific row, click the checkbox in desired row.

Loading Syncfusion Blazor Server Demos…

To display a checkbox in each Tree Grid row, set the Type property of TreeGridColumn to Checkbox.

The PersistSelection property of TreeGridSelectionSettings can be used to persist selection across all Tree Grid operations. Any of the columns should be defined as a primary key using the IsPrimaryKey property of TreeGridColumn for persistent selection.

In this demo, Tree Grid multiple selection has been enabled with selection persistence.

More information on the checkbox selection feature can be found in this documentation section.

Transform your Blazor web apps today with Syncfusion® Blazor components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE