Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
4993 มุมมอง

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"}' />


อวตาร
ละทิ้ง

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.

Related Posts ตอบกลับ มุมมอง กิจกรรม
GDPR checkbox for landing page แก้ไขแล้ว
2
ธ.ค. 23
1866
4
พ.ค. 15
5623
1
มิ.ย. 24
1912
0
พ.ย. 23
1502
how to change leave color? แก้ไขแล้ว
2
ก.ค. 24
8037