DHTMLX Docs & Samples Explorer

setSkin (skin)

Sets skin for form.

Parameters:

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

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 included css files (if there are any, applies the last one);
  4. Form gets the 'dhx_skyblue' skin.