cols

sets the number of columns in the palette

number cols;

Example

webix.ui({ 
    view:"colorboard",
    type: "classic",
    cols    :30,
    rows    :30,
    width   :400,
    height  :400
});

Related samples

Details

Note that the property is only applicable if the Colorboard is switched to the classic type (type:"classic"). The "material" palette has fixed number of cols.

See also
Back to top