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.GetDataGroupIndexByGroupValue(TcxDataGroupIndex,Variant) Method

Returns an index of the group row (data group) by the corresponding value stored in the underlying persistent field.

#Declaration

Delphi
function GetDataGroupIndexByGroupValue(AParentDataGroupIndex: TcxDataGroupIndex; const AGroupValue: Variant): TcxDataGroupIndex;

#Parameters

Name Type
AParentDataGroupIndex TcxDataGroupIndex
AGroupValue Variant

#Returns

Type
TcxDataGroupIndex

#Remarks

The GetDataGroupIndexByGroupValue method finds the data group‘s index by the specified parent data group, and the mapped field’s value that corresponds to the group row.

AParentDataGroupIndex specifies the parent data group that contains the data group to be found.

AGroupValue specifies the mapped field’s value corresponding to the data group (group row) to be found.

See Also