DHTMLX Tabbar : Clicking on same tab should go to the same p

Hi,

I am having child page in the page loaded when clicked on the tab, then if I click on the same tab again, I want to reload the page

mentioned in the xml file

How to achieve this ?

There is no built in event for such usecase.
Can be achieved by code modification or wrapping.

tabbar._setTabActive_old = tabbar._setTabActive;
tabbar._setTabActive=function(tab.idd){
    if (tab==this._lastActive) tabbar.forceLoad(tab.idd); //reload existing tab
    return tabbar._setTabActive_old.apply(this,arguments);
}