New to Kendo UI for jQuery? Download free 30-day trial

Set the Background of MultiSelect Tags with ColorPalette from ToolTip


Product Progress® Kendo UI® MultiSelect for jQuery
Product Version 2021.1.224
Operating System Windows 10 32bit
Preferred Language JavaScript


Is it possible to assign a color to the MultiSelect tags from a ToolTip as we can find it in software like Asana or Trello?


  1. Add a ToolTip to the MultiSelect's container. Use the filter method to target the tags.
  2. Set an Html element as content of the ToolTip. In the Tooltip's show event handler initialize a ColorPalette from the Html element in the Tooltip's content.
  3. Capture the change event of the ColorPalette and set the new color as the background of the Tag that showed the Tooltip. Then hide the Tooltip.
 <div id="container">
      <select id="products"></select>
      $(document).ready(function() {
          placeholder: "Select products...",
          dataTextField: "ProductName",
          dataValueField: "ProductID",
          autoBind: false,
          dataSource: {
            type: "odata",
            serverFiltering: true,
            transport: {
              read: {
                url: "",
          value: [
            { ProductName: "Chang", ProductID: 2 },
            { ProductName: "Uncle Bob's Organic Dried Pears", ProductID: 7 }

          filter: "li",
          content: "<div id='color-chooser'></div>",
            var sender = e.sender;
            var target =;
            var colorPalette = $("#color-chooser").data("kendoColorPalette");
            if(colorPalette !=undefined){
              palette: [ "#ddd1c3", "#d2d2d2", "#746153", "#3a4c8b", "#ffcc33", "#fb455f", "#ac120f" ],
              tileSize: 30,
              change: function() {
                var colorId = this.value();
                $(target[0]).css('background', colorId);

See also

In this article