IDataGridDetailRows.ShowDetailRow Property

Specifies whether to display detail rows.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.1.dll


bool ShowDetailRow { get; set; }

Property Value

Type Description

true, to display detail rows; otherwise, false.


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