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
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.