onBeforeSheetShow

fires before a sheet is opened

boolean onBeforeSheetShow(string name);
namestringthe sheet name
booleanreturning false will prevent the sheet opening

Example

$$("ssheet").attachEvent("onBeforeSheetShow", function(name){
    // some code here
    return true;
});

Details

Returning false in the handler function will block the operation.

See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix best ui framework and page of javascript spreadshee product.