TcxDBDataController.GetItemByFieldName(string) Method
Returns the item which corresponds to a specific field.
Declaration
function GetItemByFieldName(const AFieldName: string): TObject;
Parameters
Name | Type |
---|---|
AFieldName | string |
Returns
Type |
---|
TObject |
Remarks
The GetItemByFieldName function returns the item which corresponds to the field whose name is specified by the AFieldName parameter. For instance, when working in a table view, the item represents an instance of the TcxGridDBColumn class. When working in a card view, the item is a card row and represents an instance of the TcxGridDBCardViewRow class.
If the item that corresponds to the specified field is not found, the GetItemByFieldName function returns nil.
See Also