Skip to main content

WebDataDetailRows.ExpandAllRows() Method

Expands all master rows within the ASPxGridView.

Namespace: DevExpress.Web.Data

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

public void 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