ASPxGridView.DetailRows Property
Gets the ASPxGridView’s detail rows.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v23.2.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Description |
---|---|
WebDataDetailRows | A WebDataDetailRows object that provides methods used to expand/collapse detail rows. |
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