columns Number (default: 10)

The number of columns to display. When you use the "websafe" palette, this will automatically default to 18.

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

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