Back to Devexpress

WebDataDetailRows.ExpandAllRows() Method

aspnet-devexpress-dot-web-dot-data-dot-webdatadetailrows.md

latest1.8 KB
Original Source

WebDataDetailRows.ExpandAllRows() Method

Expands all master rows within the ASPxGridView.

Namespace : DevExpress.Web.Data

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public void ExpandAllRows()
vb
Public Sub ExpandAllRows

Remarks

If the ASPxGridViewDetailSettings.AllowOnlyOneMasterRowExpanded option is disabled, the ExpandAllRows method expands all master rows within the ASPxGridView. To expand all rows on the client, use the ASPxClientGridView.ExpandAllDetailRows method.

To expand a single master row, use the WebDataDetailRows.ExpandRow or WebDataDetailRows.ExpandRowByKey method.

To learn more, see Expanding and Collapsing Detail Rows.

See Also

CollapseAllRows()

ExpandRow(Int32)

WebDataDetailRows Class

WebDataDetailRows Members

DevExpress.Web.Data Namespace