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

TcxGridDBTableView.GetColumnByFieldName(string) Method

Locates the column displaying a particular field’s values.

#Declaration

Delphi
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