Input type color

Input type color

Jupiter92Jupiter92 Posts: 1Questions: 0Answers: 0

Hi,

I try to use a html color picker in the datatable.
If I click in the cell the color picker is working well, but when I click outside, I can see only the hexa text, not the color.

I tried this:

`{
data: "color", name: "color",

 render: function (color) {
         return color;
         // return `<input class="colorpicker" type="color" value="${color}">`;
 },
 className: 'editable'

}`

and this:

{ label: "Couleur :", name: "color", attr: { type:'color' } }

but I can see only the hexa text after saving...

Replies

  • allanallan Posts: 61,722Questions: 1Answers: 10,108 Site admin

    Can you link to a page showing the issue please?

    Thanks,
    Allan

This discussion has been closed.