Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
6106 Vizualizări

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 

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Autor

thanks Patel, i will try this

Related Posts Răspunsuri Vizualizări Activitate
0
feb. 21
2699
1
sept. 20
5744
0
iul. 19
216
2
dec. 18
4426
5
nov. 18
8073