fires before component filtering
columnId | string|number | the ID of the column for filtering |
value | string | the filter value |
boolean | returning false will prevent filtering |
view.data.attachEvent("onBeforeFilter", function(column, value){
if (value == 0) return false;
webix.message("Filtering...");
return true;
});
Returning false from the event handler will block further processing, and the data will not be filtered.
If you have multiple filters assigned, the event will fire for all of them.