DHTMLX Docs & Samples Explorer

setCustomStyle(id,color,scolor,style)

Required library edition: This method works with any edition of DHTMLX library
Required library file: dhtmlxtabbar.js

set specific colors for specific tab

  • id - id of tab for which setting will be applied
  • color - tab color
  • color - scolor - color in selected state ( optional)
  • css - css class will be attached to text of tab in question

See also: setSkin