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

I want to highlight the rows by a color (Gareen) in tree/summary view for all the employees how's age is greater than 45 years.

Please guide me how I can write the custom CSS to highlight a row in the summary screen. 

Thanks very much 

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hello Hassan Iqbal,
You can use decoration-* attribute in list view to highlight row based on condition.
like:

<tree decoration-success="age &gt; 45">

See decoration-{$name} at https://www.odoo.com/documentation/12.0/reference/views.html#lists

อวตาร
ละทิ้ง
ผู้เขียน

thanks Patel, i will try this

Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ก.พ. 21
2787
1
ก.ย. 20
5815
0
ก.ค. 19
216
2
ธ.ค. 18
4505
5
พ.ย. 18
8165