Skip to main content

WebDataDetailRows.ExpandRowByKey(Object) Method

Expands the specified master row (if collapsed).

Namespace: DevExpress.Web.Data

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public void ExpandRowByKey(
    object keyValue
)

Parameters

Name Type Description
keyValue Object

A String value that identifies the row by its key value.

Remarks

Use the ExpandRowByKey method to expand a single master row contained within the ASPxGridView. Unlike the WebDataDetailRows.ExpandRow method, which expands a row displayed within the active page, the ExpandRowByKey method expands any master row contained within the ASPxGridView. If the master row with the specified key value was not found, the ExpandRowByKey method does nothing.

To learn more, see Expanding and Collapsing Detail Rows.

See Also