Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
5017 Weergaven

I have a tree view list having multiples columns of checkboxes. I can change the color of the cell, but I can't change the color of the tick mark or the box surrounding the tick mark only. Any idea?

My code for changing the cell color is:

<field name="unsafe_condition"
attrs="{'column_invisible': [('parent.scored','!=',False)]}"
options='{"bg_color": "#FF8080: unsafe_behavior == True"}' />


Avatar
Annuleer

You can use style directly but not with options. eg: <field name="name" style="color:red !important;"/>

or you can add a css file in assets backend. To set according to condition inherit the form renderer js.

Gerelateerde posts Antwoorden Weergaven Activiteit
2
dec. 23
1890
4
mei 15
5636
1
jun. 24
1940
0
nov. 23
1525
2
jul. 24
8059