GcSpread.Sheets Namespace > Events type : UserZooming Event |
var instance; // Type: Events instance.UserZooming = function(sheet, sheetName, oldZoomFactor, newZoomFactor) { };
UserZooming = function ( sheet : Sheet, sheetName : string, oldZoomFactor : number, newZoomFactor : number ) { };
spread.allowUserZoom = true; $("#spreadContainer").data("spread").getActiveSheet().bind(GcSpread.Sheets.Events.UserZooming, function (e, info) { alert("Zoom (" + info.newZoomFactor + ")"); });