Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Manoj Kumar on Jul 08, 2009 23:51
open dhtmlx forum
How we can highlight particular button in tab bar.

I am showing Tab buttons vertically. It is having 8 buttons 2 of them (buttons) should be highlighted with some color. How can I achieve it in Tab bar.
Answer posted by Support on Jul 09, 2009 05:38
You can use  setCustomStyle method


/* @param: id - id of tab for which setting will be applied
* @param: color - tab color
* @param: color - scolor - color in selected state ( optional)
* @param: css - css class will be attached to text of tab in question */
tabbar.setCustomStyle(id,color,scolor,css)