DxDataGrid<T>.DetailRows Property

Provides access to a detail row’s settings.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v21.1.dll


public virtual IDataGridDetailRows DetailRows { get; }

Property Value

Type Description

An object that implements the IDataGridDetailRows interface and ships detail row settings.


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