ASPxClientVerticalGrid.SetRowExpanded(row, value) Method

Sets a value indicating whether the row is expanded.

Declaration

SetRowExpanded(row: ASPxClientVerticalGridRow | number | string, value: boolean): void

Parameters

Name Type Description
row ASPxClientVerticalGridRow | number | string
value boolean

true, to expand the row; otherwise, false.

Remarks

End-users can collapse and expand a category row or a parent row using the expand or collapse button. Use the SetRowExpanded method to programmatically expand a row. To get the row expanded state on the client side, use the ASPxClientVerticalGrid.GetRowExpanded method.

To specify the collapse state of the particular row, use the ASPxClientVerticalGrid.GetRowExpanded and SetRowExpanded methods.

On the server side, the window collapse state is controlled by the VerticalGridHierarchicalRow.Expanded property.

See Also