Skip to main content

WebDataDetailRows.ExpandAllRows() Method

Expands all master rows within the ASPxGridView.

Namespace: DevExpress.Web.Data

Assembly: DevExpress.Web.v22.1.dll


public void ExpandAllRows()


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