Skip to main content

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

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