columns Number

The number of columns to show in the palette. Also defines the width of the FlatColorPicker.

Example - wrap list of colors on two rows with 3 columns

<input id="flatcolorpicker" type="color" />
<script>
$("#flatcolorpicker").kendoFlatColorPicker({
  palette: [ "#000", "#333", "#666", "#999", "#ccc", "#fff" ],
  columns: 3
});
</script>
In this article
Not finding the help you need? Improve this article