DxDataGrid<T>.ShowDetailRow Property

Specifies whether to display detail rows.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.1.dll


public bool ShowDetailRow { get; set; }

Property Value

Type Description

Specifies whether to display detail rows.


Set the ShowDetailRow property to true and specify the DetailRowTemplate to enable a master-detail relationship in the grid.

Data Grid - Show detail rows

<DxDataGrid Data="@ProductsDataSource" ShowDetailRow="true" >
            Data="@SalesDataSource.Where(x => x.ProductId == dataItem.Id)">

Run Demo: Data Grid - Master-Detail View

See Also