setSkin

sets the active skin

void setSkin(string skin);
skinstringthe name of the skin. The allowed values are: "terrace", "dark", "material", "contrast-white", "contrast-black", "meadow", "skyblue", "broadway"

Example

gantt.setSkin("dark");

Related samples

Details

If the method is called after a gantt is initialized, it will trigger the render method.

If called before initialization, the method will have the same effect as the assignment of the gantt.skin property:

gantt.skin = "dark";
See also
  • Articles
  • Change log

    added in v9.0

    Back to top