hi,
i tried to search an example in the demo to explain, but i can't find a demo where checkbox are used in the demo.
So i explain :
i have a basic category table:
id, name, color (with color picker extension)
------------------------------
1 red #FF0000
2 black #000000
3 white #FFFFFF
and a basic car table:
id name colors (color is checkbox field):
---------------------------------------
1 volvo 1,2,3
2 ford 1,3
3 lada 2
in my car list, i have a color column which displays multiple values for colors (depending of what is checked in the checkbox).
is there a way to display the category name in color font depending of each one ? i want to write RED in red color font ,BLACK in black, and WHITE in white color font. (like system tag with color)
I know i can use the server script in ListOptions_Rendered to change the color font of each value, but i can't have access of the color field value !
with $this->car_colors->CurrentValue
, i have a value like "1,3" and that does not indicate the color.... so i'm stuck !
so is there a way to perform such colored checkboxes item ?