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


public void ExpandRowByKey(
    object keyValue


Name Type Description
keyValue Object

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


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