Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Peneluc on May 05, 2008 06:03
open dhtmlx forum
[Tabbar] setLabel()

I'm setting the labels in xml, but my system changes its name according to
the culture (globalization) that the user sets to login. I want to learn how
to rename 'all' labels during the runtime?

I tried to change the code below:

tabbar.setActiveTab ();
tabbar.setLabel (id, 'a1');

The problem is that setActive() carries the full content of the page he active.
I can not load the page's content, I just want to change the label.
Answer posted by Support on May 08, 2008 02:14
To change the tab labels you need not set tab to active state. setLabel command can be used against non active tab as well.