onBeforeDelete

fires before item deleting

boolean onBeforeDelete(id id){ ... };

Parameters

ididid of item in question

Returns

booleanreturning false will prevent item deleting

Example

some.attachEvent("onBeforeDelete", function(id){
    //... some code here ... 
    //return false to block operation
    return true;
});

Details

Returning false from the event handler will block further processing.

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