How to block one event, not all events in webix.
For Ex: onStoreUpdated
How to block one event, not all events in webix.
For Ex: onStoreUpdated
you need to overwrite the original callEvent method with your own logic.
var __callEvent = webix.EventSystem.callEvent;
webix.EventSystem.callEvent = function(type){
type = type.toLowerCase();
if(type=="onchange") return true;//will never be called
return __callEvent.apply(this, arguments);
}
you can store event names in some variable and check it when required.
Thanks alot…
Hi Intregal,
I have one query…
How to remove/pop an event/listener from datatable or any component events/listeners