onZoom

fires after the user has zoomed a sheet

void onZoom(number newValue,number oldValue, [string page] );
newValuenumberthe new zoom value
oldValuenumberthe old zoom value
pagestringthe name of the sheet

Example

$$("spsheet1").attachEvent("onZoom", function(newValue, oldValue, page){
    // some code here
});

Back to top