Tabbar Doubleclick event

Is there a way to attach a double-click event to a tab?



thanks

There is no such event, the only way to handle it - add small code modification.
In dhtmlxtabbar.js , line 155
    this._tabAll.onclick = this._onClickHandler;
add next to it
    this._tabAll.ondblclick = function(e){
          var id = (tabbar._getTabTarget(e.target||event.srcElement)).idd
          …any custom code here…
    };

How can I get it to fire a custom event similar to setOnSelectHandler?  My JavaScript skills are just not there.

How can I get it to fire a custom event similar to setOnSelectHandler?  My JavaScript skills are just not there.

    this._tabAll.ondblclick = function(e){
          var id = (tabbar._getTabTarget(e.target||event.srcElement)).idd
          if (tabbar.on_dblclick) tabbar.on_dblclick(id);
    };

later you can use
   
    function my_dbl_click_code(id){ … }
    tabbar.on_dblclick = my_dbl_click_code;