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

setText

sets the text of a tab

void setText(string text);

Parameters

textstringtab's text

Example

var myTabbar = new dhtmlXTabBar("parentId");
 
myTabbar.addTab("a1", "Rage", null, null, true);
myTabbar.addTab("a2", "Motorhead");
 
// change text
myTabbar.tabs("a1").setText("Rage!!!");

Change log

added in version 4.0

Back to top