Adjusting tabbar height with dynamic content

Hi, i use a tabbar element in which i attach several dhtmlx forms for various purposes. I want to give the user the ability to add and remove some form fields from each tab. I want the height of the tabbar to increase as the user adds more elements without a scrollbar appearing. I know setSizes method can be used to redraw the tabbar when chaning the parent’s size, but i cannot get the height after adding some elements in order to know the new dimensions for the parent div. Also the height that will be added each time is not known as i don’t know the number of elements i will add. How can i solve this problem?

Hi

you’re on the right way and it actually quite easy. please check attached demo. (you need to change dhtmlx.js/css paths in section)
tabbardemo.zip (1.39 KB)