Skip to main content

ASPxGridView.DetailRows Property

Gets the ASPxGridView’s detail rows.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web


public WebDataDetailRows DetailRows { get; }

Property Value

Type Description

A WebDataDetailRows object that provides methods used to expand/collapse detail rows.


The ASPxGridView supports master-detail data presentation. Each master grid can be linked to multiple detail grids. The DetailRows property provides methods that allow you to expand/collapse detail rows you desire. Use the VisibleCount property to obtain the number of expanded detail rows.

To learn more, see Expanding and Collapsing Detail Rows.

protected void ASPxGridView1_DataBound(object sender, EventArgs e) {  
    ASPxGridView gv = (ASPxGridView)sender;  
See Also