SpreadJS Documentation
ColumnWidthChanged Event
The sheet that triggered the event.
The sheet's name.
The list of columns whose widths have changed.
Whether the columns are row header columns.
Occurs when the column width has changed.
Syntax
var instance; // Type: Events
instance.ColumnWidthChanged = function(sheet, sheetName, colList, header) { };
ColumnWidthChanged = function ( 
   sheet : Sheet,
   sheetName : string,
   colList : Array,
   header : boolean
) { };

Parameters

sheet
The sheet that triggered the event.
sheetName
The sheet's name.
colList
The list of columns whose widths have changed.
header
Whether the columns are row header columns.
Example
This example uses the ColumnWidthChanged event.
$("#spreadContainer").data("spread").getActiveSheet().bind(GcSpread.Sheets.Events.ColumnWidthChanged, function (e, info) {    
        alert("Column (" + info.colList + ")");
});
See Also

Reference

Events type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.