Spread.Sheets Documentation
ColumnWidthChanging Event
GC.Spread.Sheets Namespace > Events type : ColumnWidthChanging Event
The sheet that triggered the event.
The sheet's name.
The list of columns whose widths are changing.
Whether the columns are row header columns.
A value that indicates whether the operation should be canceled.
Occurs when the column width is changing.
Syntax
var instance; // Type: Events
instance.ColumnWidthChanging = function(sheet, sheetName, colList, header, cancel) { };
ColumnWidthChanging = function ( 
   sheet : Worksheet,
   sheetName : string,
   colList : Array,
   header : boolean,
   cancel : boolean
) { };

Parameters

sheet
The sheet that triggered the event.
sheetName
The sheet's name.
colList
The list of columns whose widths are changing.
header
Whether the columns are row header columns.
cancel
A value that indicates whether the operation should be canceled.
Example
This example uses the ColumnWidthChanging event.
activeSheet.bind(GC.Spread.Sheets.Events.ColumnWidthChanging, function (e, info) {    
        alert("Column (" + info.colList + ")");
});
See Also

Reference

Events type