Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxSpreadSheetCell.ColumnIndex Property

Specifies a zero-based index of the column that hosts the cell object.

#Declaration

Delphi
property ColumnIndex: Integer read; write;

#Property Value

Type
Integer

#Remarks

You can use this property to:

  • Identify a column to which the cell object belongs;

  • Move the cell object between columns by assigning a new column index to the ColumnIndex property. If the destination column already has a cell object in the same row, the control raises the EdxSpreadSheetError exception.

To access the underlying object of the column that hosts the cell object, use the Column property instead.

See Also