Skinning TabPicker items

Hi,

I am customizing the look of Tabs in a TabSet dynamically (e.g. highlight a tab by changing its background).

I want the corresponding items in the TabPicker to be changed as well. (i.e. when I highlight a certain tab, I want to highlight the corresponding item in the tab picker as well).

I am highlighting the tabs by using code such as:

TabSet tabset = createTabSet(); // creates a tabset with many tabs
Tabs tbsary = tabset.getTabs();
Tab hlttab = tbsary[2];
hlttab.setAttribute(“titleStyle”, “highlighted”);
rootPanel.add(tabset, 10, 10);

I could not find a way to get to the items in the tab picker list to similarly change their attributes.

I was hoping that they will “inherit” the changed attribute from their corrsponding tabs(?) … but they do not.

Any instruction/direction/suggestion/workaround will be most welcome.

Thanks.


SmartGWT: 2.4
Browser: IE8, FireFox 3.6

Can anyone suggest how to do this please?