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
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.