DHTMLX Docs & Samples Explorer

onSelect Event

This event occurs when tab selected

          tabbar.attachEvent("onSelect", function(id,last_id){
              //any custom code
              return true;
          });
  • id - id of selected tab
  • last_id - id of previously selected tab

If event handler returns false - selection will be blocked.