Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
6134 Tampilan

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 

Avatar
Buang
Jawaban Terbai

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

Avatar
Buang
Penulis

thanks Patel, i will try this

Post Terkait Replies Tampilan Aktivitas
0
Feb 21
2734
1
Sep 20
5784
0
Jul 19
216
2
Des 18
4469
5
Nov 18
8102