DxDataGrid<T>.ColumnResizeMode Property

Specifies whether and how users can resize Data Grid columns.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v20.2.dll


public DataGridColumnResizeMode ColumnResizeMode { get; set; }

Property Value

Type Description

A DataGridColumnResizeMode value.


If the ColumnResizeMode property is set to Disabled (the default value), users cannot change the column's width at runtime.

To enable column resize, set the ColumnResizeMode property to one of the following values:

  • NextColumn - The width of the column to the right changes, but the Data Grid's width remains unchanged.

DataGrid Resize Next Column

  • Component - The Data Grid's width changes, but the width of other columns remains the same.

DataGrid Resize Component

<DxDataGrid DataAsync="@CustomersService.Load"

Run Demo: Data Grid - Resize Columns

See Also