Skip to main content

TdxSpreadSheetTableItem.Cells Property

Provides zero-based indexed access to the cell objects hosted within the current table item object.

Declaration

property Cells[Index: Integer]: TdxSpreadSheetCell read;

Property Value

Type
TdxSpreadSheetCell

Remarks

For row objects, Index specifies the index of the column to which the cell object belongs. For column objects, Index specifies the index of the row to which the cell object belongs.

The Cells property returns nil if no cell object exists at the specified position. To create a cell object, you can call the TdxSpreadSheetTableRow.CreateCell, TdxSpreadSheetTableColumn.CreateCell, or TdxSpreadSheetTableView.CreateCell function.

See Also