Skip to main content

DxDataGridSelectionColumn Class

A selection column.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.2.dll

Declaration

public class DxDataGridSelectionColumn :
    DxDataGridColumnBase<ISelectionColumnModel>

Remarks

Important

The Data Grid was moved to maintenance support mode. No new features/capabilities will be added to this component. We recommend that you migrate to the Grid component.

The DxDataGridSelectionColumn object is a column that allows you to select individual or all data rows.

Data Grid - A Selection column

<DxDataGrid Data="@DataSource" SelectionMode="DataGridSelectionMode.OptimizedMultipleSelection" >
    <DxDataGridSelectionColumn></DxDataGridSelectionColumn>
    ...
</DxDataGrid>

You can set the column’s width in the Width property. To specify the column’s position, use the VisibleIndex property, and use the Visible property to manage the column’s visibility.

Note

To display a selection column in the Column Chooser window, set the column’s ShowInColumnChooser property to true.

Online Demo

Data Grid - Selection

Inheritance

Object
ComponentBase
DevExpress.Blazor.Base.DxAsyncDisposableComponent
DxSettingsComponent
DxDataColumnBase
DxDataColumnBase<DevExpress.Blazor.Internal.Grid.ISelectionColumnModel>
DxDataGridColumnBase<DevExpress.Blazor.Internal.Grid.ISelectionColumnModel>
DxDataGridSelectionColumn
See Also