TcxGridDBLayoutView.GetItemByFieldName(string) Method
Obtains a data item by the associated dataset field name.
Declaration
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