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

TcxGridDBBandedTableView.GetColumnByFieldName(string) Method

Locates a column by the Fieldname of the data it is displaying.

#Declaration

Delphi
function GetColumnByFieldName(const AFieldName: string): TcxGridDBBandedColumn;

#Parameters

Name Type
AFieldName string

#Returns

Type
TcxGridDBBandedColumn

#Remarks

Use the GetColumnByFieldName method to locate a column displaying a specific data field. The data field name is specified via the AFieldName parameter.

The following code shows how to use the GetColumnByFieldName method:

...
btvUsersSchedule.GetColumnByFieldName('SATURDAY').Visible := False;
...
See Also