Check documentation for the latest version of dhtmlxSuite setSkin DHTMLX Docs

setSkin

sets skin for a form

void setSkin(string skin);
skinstringthe skin you want to set

Example

myForm.setSkin("dhx_web");

Details

Available values:

  • "dhx_skyblue" (default value)
  • "dhx_web"
  • "dhx_terrace"


The priority of setting the skin

  1. Form gets the skin specified in the form object constructor (3rd parameter);
  2. Form gets the skin set by global "dhtmlx.skin";
  3. Form tries to automatically detect the skin by analyzing the included css files (if there are any, applies the last one);
  4. Form gets the "dhx_skyblue" skin.
Back to top