从Kendo调色板中删除选择行为

时间:2016-07-11 13:55:11

标签: javascript jquery kendo-ui color-palette

我正在使用kendo颜色托盘控件:

 $(".palette").kendoColorPalette({
      columns: 5,
      tileSize: {
         width: 34,
         height: 19
      },
      palette: [
         "#735096", "#a7447d", "#9d2b12", "#c7560a", "df7700",
         "#3f5caf", "#0293a0", "#4d9954", "#7e9c22", "#b18d00",
         "#00517f", "#000000", "#575757", "#818181", "#74661b"
      ],
      change: this.preview
});

令人讨厌的是,当我选择一种颜色时,剑道网格应用.k状态选择的类,该类设置背景颜色,从而覆盖切片颜色。有没有办法禁用这个类被应用?

0 个答案:

没有答案