Skip to main content

TcxCustomPivotGrid.GetFieldByName(string) Method

Returns an instance of the named field.

Declaration

function GetFieldByName(const AName: string): TcxPivotGridField;

Parameters

Name Type
AName string

Returns

Type
TcxPivotGridField

Remarks

The search is successful, if the AName‘s value matches the TcxPivotGridField.Caption property’s value. Otherwise a value of nil will be returned.

The AName parameter specifies the field’s caption.

See Also