Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
550
using conditional formatting to comare cell value with its previous value
posted

I need to compare a cell value with its new value and accordingly change its background to green if cell new value is higher else to red if cells new value is smaller. i also want a upward/ downward arrow besides it.

 

can you help me with this requirement. should i use conditional formatting or valueconvertor?

how to go about it?

 

Parents
  • 21382
    posted

    There is nothing in the XamGrid that is going to remember your old value, so you would need to persist that value on your data object and then write a custom conditional formatting rule and make your evaluation. 

     

    You could use the IconConditionalFormattingRule as your base class for your custom rule because that will allow you to put icons into the cells.

Reply Children