DxGridColumn.Name Property

Specifies the column’s unique identifier.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.1.dll


public string Name { get; set; }

Property Value

Type Description

The column’s unique identifier.


Use the Name property to identify columns for which the FieldName property is not specified:

When you create a total or group summary item, you can set the item’s FooterColumnName property to a column’s Name to display a summary value in this column.

The following example uses the Name property to show the total number of records in the command column.

@using Grid.Northwind
@inject NorthwindContext Northwind

<DxGrid Data="@Data"
        <DxGridDataColumn FieldName="OrderId" DisplayFormat="d" />
        <DxGridDataColumn FieldName="OrderDate" DisplayFormat="d" />
        <DxGridDataColumn FieldName="ProductName" />
        <DxGridDataColumn FieldName="UnitPrice" DisplayFormat="c2" />
        <DxGridDataColumn FieldName="Quantity" />
        <DxGridCommandColumn Name="CommandColumn" />
        <DxGridSummaryItem SummaryType="GridSummaryItemType.Count" FooterColumnName="CommandColumn" />

@code {
    object Data { get; set; }

    protected override void OnInitialized() {
        Data = Northwind.Invoices

Blazor Grid Column Name


See Also