Blazor Tree Grid Example - Show or Hide Column

Tree Grid / Columns / Show or Hide Column

This sample demonstrates dynamic show/hide columns feature of Tree Grid. Click the toggle switch in this demo to change the visibility of columns.

Loading Syncfusion Blazor Server Demos…

Click the switch to toggle visibility

The Tree Grid column can be shown or hidden dynamically using the ShowColumnsAsync and HideColumnsAsync methods of Tree Grid.

The TreeGridColumn->Visible property decides the visibility of a column. To hide a column at the initial rendering, set the TreeGridColumn->Visible property to false.

More information on showing or hiding columns can be found in this documentation section.

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