Skip to main content

TdxSpreadSheetTableItems.CreateItem(Integer) Method

Creates a generic table item object within the current table item collection.

Declaration

function CreateItem(const AIndex: Integer): TdxSpreadSheetTableItem;

Parameters

Name Type
AIndex Integer

Returns

Type
TdxSpreadSheetTableItem

Remarks

The position of a created table item within a Table View worksheet is specified as a zero-based index via the AIndex parameter. The CreateItem function always returns the table item object at the specified position.

You do not need to call the CreateItem function, since it is overridden in the TdxSpreadSheetTableColumns and TdxSpreadSheetTableRows classes that provide the column and row-specific implementations, respectively.

See Also