thank you @pgr,
Yes, I think that change a little bit this instruction $bean->industry = "<div style='border: solid 5px #$colour;'>".$bean->industry."</div>";
I can reach my goal in ListView.
Can I made the same hook in DetailView?
Thank you,
B.
I tried this example (in listview) and it works. In my case, I have a multiselect field, but with this example I can’t show the colored circle
Is there the possibility to do the same operation but with multiselect?
Perhaps it changes the HTML (you can see it rendered in the browser’s Dev console) but it’s not taking effect because there is other HTML around it? Something specific to Multiselects?
My hook works if I put my coloured circle, for example, near the name (that is a string). If I put in my multiselect field, it doesn’t work.
I try to print the vaule of my field before and after my changes and the value is similar than: myCodeForCircle ^Val1^Val2^
where Val1 and Val2 are the selected values of multiselect field.
So I think that after there is a manipulation of the value to show in the correct way.