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
580
Does Formula of FieldCalculationSettings support conditional statement?
posted

Does Formula of  FieldCalculationSettings support conditional statement?

col1 

col2 

col3 <bool>

col4 <int>  

I want to set an UnboundField by using Formula to display .

According col3, when col3 is ture, the value of col4 will be displayed in col1 and

when col3 is false, the value of col4 will be displayed in col2

how to do it.

 

Parents
  • 138253
    Verified Answer
    Offline posted

    Hello,

    Thank you for your post. I have been looking into it and I created a sample project for you with the functionality you want. Basically I created Styles for the UnboundFields’ CellValuePresenters and add DataTriggers, in order to show or hide their values, based on the Value in the boolean Field. Please let me know if this helps you or you need further assistance on this matter.

    Looking forward for your reply.

    XamDataGridConditionalFormat.zip
Reply Children
No Data