Link Search Menu Expand Document

SSpread.SetColItemData Method

Explanation Sets individual numeric data for the specified column.

Use the GetColItemData method to get individual numeric data for a column. This numeric data does not affect the behavior of the spreadsheet. It can be used for any purpose.
Call format SetColItemData(col, value)
Return value None
Arguments col Column index
value Numerical data
Exception EXT-1 The argument of SetColItemData is invalid
EXT-28 An error occurred in the SetColItemData method
Example of use
    SetColItemData(1, 1001);
    SetColItemData(2, 1002);
    SetColItemData(3, 1003);
    
    Function OnClicked(e) {
        MessageBox(str(GetColItemData(e.Col)) + " is clicked");
    }
    
Related item CellTag property
GetColItemData, GetRowItemData, SetRowItemData methods