PDA

View Full Version : Mark a Tab of a TabPanel



Urkman
3 Sep 2010, 7:01 AM
Hello,

how can I mark a Tab of a TabPanel? e.g. Change the background color?

Thanks for your help,
Urkman

3 Sep 2010, 9:07 AM
You need to set an alternate css class to do so. The tabs use images for the background color. Here's a hint, the tabpanel has a tab strip property that is accessible.

Urkman
3 Sep 2010, 1:15 PM
Hello,

thanks for you first hint...
I think I can take the getTabEl() function for this. With that get the HTMLElement, but how can I work with that?
Where can I find short introduction to it? e.G. adding or removing a class or setting the style?

Thanks,
Urkman