dhtmlxTabber: Adding tabs on the fly

Using JavaScript, is it poosible to add tabs to row 2 after an on-click event of a tab located at row 1? What I want to do is be able to define a parent-child relationship of tabs located on rows 1 and 2 on the fly. Is it also possible to vary tab styles based on row?

is it poosible to add tabs to row 2 after an on-click event of a tab located at row 1?

You can add tabs on the fly to any position
    tabbar.addTab(id,text,size,pos,row);
pos - tab position
row - row index

But in case of multiline rows the things can be complicated, because by default in case of tab selecting, its row goes to bottom, changing order of tab lines.
It may be more simple to use nested tabbars, where inside each tab you create child tabbars.


to vary tab styles based on row?


It is not possible, all tabs in tabbar must have the same style.