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

TcxGridDBLayoutView.GetItemByFieldName(string) Method

Obtains a data item by the associated dataset field name.

#Declaration

Delphi
function GetItemByFieldName(const AFieldName: string): TcxGridDBLayoutViewItem;

#Parameters

Name Type
AFieldName string

#Returns

Type
TcxGridDBLayoutViewItem

#Remarks

The GetItemByFieldName method searches for the item to which the specified dataset field is linked (see the item’s DataBinding.FieldName property).

If the item that corresponds to the specified field is not found, the GetItemByFieldName method returns nil.

AFieldName specifies the dataset field.

See Also