Skip to main content

TcxCustomGridRecord.Expandable Property

Gets whether the record can be expanded and/or collapsed.

Declaration

property Expandable: Boolean read;

Property Value

Type
Boolean

Remarks

If this property returns True, then the record can be successfully expanded and collapsed using the record’s Expand, Collapse methods and the Expanded property. The Expandable property also determines whether the View’s ViewData.Expand and ViewData.Collapse methods will affect the record.

If the Expandable property returns False, the View will not paint visual elements that allow end-users to expand and collapse records.

As implemented in the TcxCustomGridRecord class, the Expandable property simply returns False. This property’s actual value depends on the record type (TcxCustomGridRecord descendant). The table below lists record classes that support expanding and collapsing and provides information on the Expandable property return value.

Record class

The Expandable property’s return value

TcxGridGroupRow

Returns True except for the case when the data controller’s dcoGroupsAlwaysExpanded option is enabled.

TcxGridMasterDataRow

Returns True if at least one of the following conditions is met:

TcxGridCard

Returns True if the View’s OptionsCustomize.CardExpanding property value is True.

See Also