HeaderPane
Main
Hide
Share Link
Print

CellItemData Property, SftTree Object

Defines a cell's application specific value.

Deprecated - Provided for compatibility with earlier versions only - Cell.Data instead

Syntax

Get

C#int Data = object.get_CellItemData(int ItemIndex, short ColIndex);
VB.NETData = object.get_CellItemData(ByVal ItemIndex As Integer, ByVal ColIndex As Short) As Integer
C++long Data = object->CellItemData[long ItemIndex][short ColIndex];
long Data = object->GetCellItemData(long ItemIndex, short ColIndex);
CHRESULT object->get_CellItemData(long ItemIndex, short ColIndex, long* Data);
VBData = object.CellItemData(ByVal ItemIndex As Long, ByVal ColIndex As Integer) As Long

Put

C#void object.set_CellItemData(int ItemIndex, short ColIndex, int Data);
VB.NETobject.set_CellItemData(ByVal ItemIndex As Integer, ByVal ColIndex As Short, ByVal Data As Integer)
C++long object->CellItemData[long ItemIndex][short ColIndex] = Data;
void object->PutCellItemData(long ItemIndex, short ColIndex, long Data);
CHRESULT object->put_CellItemData(long ItemIndex, short ColIndex, long Data);
VBobject.CellItemData(ByVal ItemIndex As Long, ByVal ColIndex As Integer) = Data As Long

object

A SftTree object.

ItemIndex

The zero-based item index. The combination of ItemIndex and ColIndex describes an individual cell.

ColIndex

The zero-based column number. The combination of ItemIndex and ColIndex describes an individual cell.

Data

Defines the cell's application specific value.

Comments

Deprecated - Provided for compatibility with earlier versions only - Cell.Data instead

The CellItemData property defines a cell's application specific value.

The CellItemData property can be used to store application specific data with a cell. Possible uses include storing pointers to data structures or values used for sorting purposes (see Items.SortDependents method).

The Cell.DataString, Cell.DataObject, Cell.DataTag properties can be used to store additional application specific data, using other data types (strings, objects, variants).

Additional properties used to associate an application defined value with an item are Item.Data, Item.DataTag, Item.DataObject, Item.DataFloat and Item.DataString. These are distinct properties and can be used at the same time.

See Also SftTree Object | Object Hierarchy


Last Updated 11/03/2026 - (email)
© 2026 Softel vdm, Inc.