Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxDataControllerGroups.HasAsParent(Integer,Integer) Method

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

#Declaration

Delphi
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