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
380
Can I make a Custom Computed Column?
posted

I want to make create a compute column  --     base on two columns  col_a col_b

 

Col_c = col_b id col_a ==Y  or -col_b if col_a==N

 

Is there way build compted columns dynamically?

Parents
No Data
Reply
  • 138253
    Offline posted

    Hello Howard,

     

    Thank you for your post. I have been looking into it and I created a sample project for you with the functioanlity you want. Basically I overridden the ToString method of my Data class and used an UnboundField to display the computed value. Please let me know if this helps you or you need further assistance on this matter.

     

    Looking forward for your reply.

    XamDataGridComputedColumn.zip
Children