Check documentation for the latest version 6.0 of dhtmlxSuite setAlign DHTMLX Docs

setAlign

aligns tabs within the tabbar

void setAlign(string align);

Parameters

alignstring"left" or "right", "left" by default

Example

var myTabbar = new dhtmlXTabBar("parentId");
 
myTabbar.setAlign("right");
 
myTabbar.addTab("a1", "Rage", null, null, true);
myTabbar.addTab("a2", "Motorhead");
myTabbar.addTab("a3", "Poisonblack");

Back to top