moves the specified tab to the specified position
id | string|number | tab id |
index | number | the new tab position |
var myTabbar = new dhtmlXTabBar("parentId");
myTabbar.addTab("a1", "Rage", null, null, true);
myTabbar.addTab("a2", "Motorhead");
myTabbar.moveTab("a1", 1); // new order -> "Motorhead", "Rage"
added in version 3.6
Back to top