Library Vcl NextSuite 5 NextGrid References Classes TNxCustomGridControl Properties CellsByName

CellsByName

Access to AsString property of a cell located at specified ACol and ARow position in the grid. The difference between this and Cells property is that both parameters can be specified as strings.

pas
property CellsByName[ACol, ARow: Variant]: WideString read GetCellsByName write SetCellsByName;

Values that can be provided are: First, Last and Selected (case insensitive). For ACol parameter name of column can be used.

Example

pas
MyValue := ProductsGrid.CellsByName['ColPrice', 'selected'];

Sign in