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

Resize Columns

The Grid lets the user resize its columns by dragging the borders between their headers.

To enable the column resizing, set the Resizable parameter of the grid to true.

To prevent the user from resizing a certain column, set its own parameter Resizable="false". Note that the user can still resize other columns around it.

When column resizing is enabled, a double click on the resize handle between the header cells will automatically fit the column width to the content of the header, data and footers.

Enable column resizing in Telerik Grid

@* Drag the border between column headers to change the column size. You cannot resize the command column. Note that actual CRUD operations and settings are not implemented here for brevity. *@

<TelerikGrid Data="@GridData"
             Pageable="true" PageSize="10" Sortable="true" Height="300px">
        <GridColumn Field=@nameof(SampleData.Id) Title="Id" />
        <GridColumn Field=@nameof(SampleData.Name) Title="First Name" />
        <GridColumn Field=@nameof(SampleData.LastName) Title="Last Name" />
        <GridCommandColumn Width="100px" Resizable="false">
            <GridCommandButton Command="Save" Icon="save" ShowInEdit="true">Update</GridCommandButton>
            <GridCommandButton Command="Edit" Icon="edit">Edit</GridCommandButton>
            <GridCommandButton Command="Delete" Icon="delete">Delete</GridCommandButton>
            <GridCommandButton Command="Cancel" Icon="cancel" ShowInEdit="true">Cancel</GridCommandButton>

@code {
    public List<SampleData> GridData { get; set; }

    protected override void OnInitialized()
        GridData = GetData();

    private List<SampleData> GetData()
        return Enumerable.Range(1, 50).Select(x => new SampleData
            Id = x,
            Name = $"name {x}",
            LastName = $"Surname {x}"

    public class SampleData
        public int Id { get; set; }
        public string Name { get; set; }
        public string LastName { get; set; }

How column resizing works in the Telerik grid

See Also

In this article
Not finding the help you need? Improve this article