how to use enableAutoSize(true,true); when tabbar has been i

how can i do to use enableAutoSize(true,true); when i have initialized the tabbar from html, or is there other way to set this function from de div ?

You can use oninit attribute

div id=“a_tabbar” class=“dhtmlxTabBar”  oninit=“a_tabbar.enableAutoSize(true,true)”  …