TcxGridDBTableView.GetColumnByFieldName(string) Method
In This Article
Locates the column displaying a particular field’s values.
#Declaration
Delphi
function GetColumnByFieldName(const AFieldName: string): TcxGridDBColumn;
#Parameters
Name | Type |
---|---|
AField |
string |
#Returns
Type |
---|
Tcx |
#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