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

ASPxGridView.ExpandRow(Int32, Boolean) Method

Expands the specified group row and optionally child group rows at all nesting levels.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.1.dll

Declaration

public void ExpandRow(
    int visibleIndex,
    bool recursive
)

Parameters

Name Type Description
visibleIndex Int32

An integer value that identifies the group row.

recursive Boolean

true to expand child group row at all nesting levels; false to preserve the collapsed state of any child group row.

Remarks

To expand all group rows, call the ASPxGridView.ExpandAll method. To collapce the specified group row, use the ASPxGridView.CollapseRow method.

To identify whether the row is expanded, use the ASPxGridView.IsRowExpanded method.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ExpandRow(Int32, Boolean) 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