DataGridColumnResizeMode Enum

Lists values that specify whether and how users can resize Data Grid columns.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v20.2.dll

Declaration

public enum DataGridColumnResizeMode

Members

Name Description
Disabled

Users cannot resize Data Grid columns.

NextColumn

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

Component

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

Related API Members

The following properties accept/return DataGridColumnResizeMode values:

Remarks

To allow users to resize columns in the Data Grid, set the ColumnResizeMode property to one of the following values:

  • NextColumn

DataGrid Resize Next Column

  • Component

DataGrid Resize Component

<DxDataGrid DataAsync="@CustomersService.Load"
            ...
            ColumnResizeMode="DataGridColumnResizeMode.NextColumn">
    @*...*@
</DxDataGrid>

Run Demo: Data Grid - Resize Columns

See Also