aspnet-devexpress-dot-web-dot-aspxgridview-bbef6e73.md
Gets the ASPxGridView’s detail rows.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
public WebDataDetailRows DetailRows { get; }
Public ReadOnly Property DetailRows As WebDataDetailRows
| Type | Description |
|---|---|
| WebDataDetailRows |
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;
gv.DetailRows.ExpandAllRows();
}
See Also