onBeforeCancel

fires when the "Cancel" button is clicked in the filters popup

void onBeforeCancel(object structure){ ... };

Parameters

structureobjectthe structure object with chosen "filters", "rows", "columns" and "values"

Example

$$("pivot1").attachEvent("onBeforeCancel",function(structure){
    webix.confirm("Are you sure that you want to cancel changes?")
});

Details

Returning false within the handler will prevent the execution of further logic and the action will not be cancelled.

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