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

ASPxClientGridView.CollapseRow(visibleIndex) Method

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

Declaration

CollapseRow(
    visibleIndex: number,
    recursive?: boolean
): void

Parameters

Name Type Description
visibleIndex number

An integer value that identifies the group row by its visible index.

recursive boolean

true to collapse child group rows at all nesting levels; false to preserve the expanded state of any child group row.

Remarks

To collapse all group rows, use the ASPxClientGridView.CollapseAll method. To expand the specified group row, use the ASPxClientGridView.ExpandRow method.

See Also