How to block one event, not all events.

How to block one event, not all events in webix.

For Ex: onStoreUpdated



  • edited January 21

    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.

  • edited January 22

    Thanks alot....

  • Hi Intregal,
    I have one query..
    How to remove/pop an event/listener from datatable or any component events/listeners

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!