TcxGridDBDataController.GetItemByFieldName(string) Method
Returns the grid item that corresponds to the specified field in the bound dataset.
Declaration
function GetItemByFieldName(const AFieldName: string): TcxCustomGridTableItem;
Parameters
Name | Type | Description |
---|---|---|
AFieldName | string | The name of the target field in the bound dataset. |
Returns
Type | Description |
---|---|
TcxCustomGridTableItem | The grid item associated with the specified dataset field ( Cast the returned grid item to the corresponding TcxCustomGridTableItem class descendant to access all public API members. Tip You can call the returned object’s ClassType function to identify the actual grid item type. |
See Also