New to Telerik UI for Blazor? Download Free 30-day trial

TreeList - Column Resizing

Configurator

Auto Fit Columns

1 - 10 of 99 items
  • Column-resizing.razor
  • EmployeeDirectoryService.cs
  • EmployeeDirectoryDto.cs
Loading the demo source code...please wait.

Description

The Telerik Tree Grid component for Blazor allows you to resize its columns in order to align the column width to the content in the way you prefer.

To start resizing, drag the border of the header of the TreeList column and drop it to a new location.

When you double click the resize border in the header of the treelist, the column will automaically fit its width to the contents of its data and header.

You can also restrict resizing below or above a certain point through the MinResizableWidth and MaxResizableWidth, parameters.

You can let the users resize the treelist columns by setting the Resizable parameter to true.

If you would like to prevent resizing for a particular column, you can set the Resizable parameter of that particular column to false.

This Blazor TreeList - Column Resizing demo is part of a unique collection of hundreds of Blazor demos, with which you can see all Telerik Blazor components and their features in action. View the source code of each of the demos or directly adapt and edit them, including their theme appearance, in some of our dedicated playgrounds for Blazor projects - Telerik REPL for Blazor.

Support & Learning Resources

An error has occurred. This application may no longer respond until reloaded.
Reload