DHTMLX Docs & Samples Explorer

setSkin(skin)

Sets skin for a calendar.

Parameters:

  • skin - the skin you want to set.
    Available values:
    • 'dhx_skyblue' (default)
    • 'dhx_web'
    • 'omega'
    • 'dhx_terrace'
myCalendar.setSkin("omega");

While init calendar use the following rules to set skin:

  • 2nd param to constructor
  • value of global variable dhtmlx.skin
  • attempt to detect skin automaticaly based on included css (if several css files included - the last one will used)
  • default dhx_skyblue