Skip to main content

TdxSpreadSheetTableView.Cells Property

Provides zero-based indexed access to cell objects within the current Table View worksheet.

Declaration

property Cells[ARow: Integer; AColumn: Integer]: TdxSpreadSheetCell read;

Property Value

Type
TdxSpreadSheetCell

Remarks

Use this property to access a particular cell object whose location is specified by zero-based indexes of the row (as the ARow parameter) and column (as the AColumn parameter) objects to which it belongs. If there is no cell object at the specified position, the Cells property returns nil instead of a valid TdxSpreadSheetCell object.

To create a cell object, you can invoke the CreateCell, Columns.CreateCell, or Rows.CreateCell function.

Note

The Cells property is very useful for assigning cell values and cell properties customization. If you only need to obtain the value stored within a cell (including its error code), use the GetCellValue procedure instead.

See Also