Skip to main content

TdxSpreadSheetTableColumns Class

A column object collection within a Table View worksheet.

Declaration

TdxSpreadSheetTableColumns = class(
    TdxSpreadSheetTableItems
)

Remarks

This class implements both the collection of column objects corresponding to the modified columns within a Table View worksheet and the settings applied to all columns within a table. With a TdxSpreadSheetTableColumns object, you can access and manage individual column objects, group and ungroup columns, and modify the width of all columns within a Table View worksheet.

A column object in the Spreadsheet control is created either on demand to customize the appearance of a particular column or in response to the creation of a cell object hosted within the corresponding column.

As a result, a TdxSpreadSheetTableColumns collection is populated with column objects whose zero-based indexes correspond to the actual positions of customized or filled columns within a Table View worksheet.

The TdxSpreadSheetTableColumns class does not introduce any new public members. It only overrides the Items property and the CreateItem function to automatically cast a returned table item to the TdxSpreadSheetTableColumn class.

A worksheet’s Columns property references a TdxSpreadSheetTableColumns object.

Inheritance

See Also