I am trying to add colors to my color palette array but I cannot see the new colors until I make a new palette. Is there a way to get rid of the old palette and replace it with a new one...or just dynamically change its colors?
Documentation: http://docs.telerik.com/kendo-ui/api/javascript/ui/colorpicker
Code:
elem.find('.k-content').kendoColorPalette({
palette: userPalette, // variable with hex colors that should be appended
columns: 8,
accesskey: 'g',
tileSize: {
width: 35,
height: 35
},
change: // set color
Aucun commentaire:
Enregistrer un commentaire