I’m developing an app that allows the user to set specific color to a record.
What I need to achieve is that the color should be displayed as a label in a table row containing specific record.
For example - if I have three columns in my table (Name, Phone, Status) - I’d like to add a color-component in fourth column (Name, Phone, Status, Color) as some kind of square or whatever.
Is there a component that will allow me to do that?
Thank you for the reply. I’ve managed to workaround my case by using disabled button, with CSS style injected dynamically. It’s not perfect, but does its job
All the magic is to generate a column, inject dynamically CSS code containing button color and overriding ‘disabled’ style, so the button is not greyed out