I want to change the Abs(Diff) column. This has to be in Abs(Diff) because the viewer wants to see it this way.
ID | TYPE| CURRENT VALUE | TARGET | ABS(Diff)
1 | Sell| 10 | 11 | 1 --> Color Red
2 | Sell| 11 | 10 | 1 --> Color Green
3 | BUY | 10 | 9 | 1 --> Color Green
4 | BUY | 10 | 11 | 1 --> Color Red
The meaning: Row 1: I have an item to sell. Current Market value is 10, I am looking to sell when it is at least(Target) 11. This does not meet my requirement. The color should be red in the cell for Abs(Diff)
I have looked at this. Change DataGrid cell colour based on values But this seems to be one value only. How do I look at multiple columns?