Skip to main content

DxDataGrid<T>.ShowColumnHeaders Property

Specifies whether the grid displays column headers.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v22.1.dll

Declaration

[DefaultValue(true)]
[Parameter]
public bool ShowColumnHeaders { get; set; }

Property Value

Type Default Description
Boolean

true

true, to display column headers; otherwise, false.

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 following example illustrates how to use the ShowColumnHeaders property.

<DxDataGrid Data="@forecasts" ShowColumnHeaders="false" ...>
    ...
</DxDataGrid>

Data Grid - Show column headers

See Also