Reputation: 2358
Is it possible change color in tree view, for example if field total_time (float time widget) <= 00:00 put red color.
I'm try below exampke but not working!
colors="red:total_time<='00:00'"
Upvotes: 3
Views: 512
Reputation: 14746
You can do it using following method.
colors="red:total_time<='00:00'"
You must escaped special characters in XML.
Ex:
less than (<) is escaped to <
greater than (>) is escaped to >
This may help you.
Upvotes: 2