ASPxGridView.DetailRows Property
In This Article
Gets the ASPxGridView’s detail rows.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
#Declaration
public WebDataDetailRows DetailRows { get; }
#Property Value
Type | Description |
---|---|
Web |
A Web |
#Remarks
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;
gv.DetailRows.ExpandAllRows();
}
See Also