GcSpread.Sheets Namespace > Events type : ColumnChanged Event |
var instance; // Type: Events instance.ColumnChanged = function(sheet, sheetName, col, sheetArea, propertyName) { };
$("#spreadContainer").data("spread").getActiveSheet().bind(GcSpread.Sheets.Events.ColumnChanged, function (e, info) { if(info.sheetArea === GcSpread.Sheets.SheetArea.viewport){ alert("Index (" + info.col + ")"); } });