Skip to main content

WebDataDetailRows.CollapseRow(Int32) Method

Collapses the specified master row (if expanded), which is displayed within the active page.

Namespace: DevExpress.Web.Data

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

public void CollapseRow(
    int visibleIndex
)

Parameters

Name Type Description
visibleIndex Int32

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

Remarks

If the specified row isn’t displayed within the active page, the CollapseRow method does nothing. Instead, use the WebDataDetailRows.CollapseRowByKey method.

To learn more, see Expanding and Collapsing Detail Rows.

See Also