Skip to main content

TcxDataControllerGroups.HasAsParent(Integer,Integer) Method

Checks whether the ARowIndex row is a child of the AParentRowIndex row.

Declaration

function HasAsParent(ARowIndex: Integer; AParentRowIndex: Integer): Boolean;

Parameters

Name Type
ARowIndex Integer
AParentRowIndex Integer

Returns

Type
Boolean

Remarks

Since data groups are hierarchically structured in the grid, each row in a nested group is a child of the row located in the parent group.

The HasAsParent method determines whether two specified rows are in the parent-child relationship. If so, the method returns True; otherwise, False.

See Also