Skip to main content
A newer version of this page is available. .

WebDataDetailRows.ExpandAllRows() Method

Expands all master rows within the ASPxGridView.

Namespace: DevExpress.Web.Data

Assembly: DevExpress.Web.v20.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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ExpandAllRows() method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also