Skip to main content

TcxGridDBTableView.GetColumnByFieldName(string) Method

Locates the column displaying a particular field’s values.

Declaration

function GetColumnByFieldName(const AFieldName: string): TcxGridDBColumn;

Parameters

Name Type
AFieldName string

Returns

Type
TcxGridDBColumn

Remarks

Call this function to locate the column displaying values from the specified data set field. The field name is specified via the AFieldName parameter. If a column corresponding to the specified field name does not exist or the data set contains no field with the specified name, then this method returns nil.

See Also