SpreadJS Documentation
ColumnChanged Event
GC.Spread.Sheets Namespace > Events type : ColumnChanged Event
The sheet that triggered the event.
The sheet's name.
The column index.
The sheetArea of the column.
The name of the column's property that has changed.
Occurs when a change is made to a column or range of columns in this sheet that may require the column or range of columns to be repainted.
Syntax
var instance; // Type: Events
instance.ColumnChanged = function(sheet, sheetName, col, sheetArea, propertyName) { };
ColumnChanged = function ( 
   sheet : Worksheet,
   sheetName : string,
   col : number,
   sheetArea : SheetArea,
   propertyName : string
) { };

Parameters

sheet
The sheet that triggered the event.
sheetName
The sheet's name.
col
The column index.
sheetArea
The sheetArea of the column.
propertyName
The name of the column's property that has changed.
Example
This example uses the ColumnChanged event.
activeSheet.bind(GC.Spread.Sheets.Events.ColumnChanged, function (e, info) {
    if(info.sheetArea === GC.Spread.Sheets.SheetArea.viewport){
        alert("Index (" + info.col + ")");
    }
});
See Also

Reference

Events type