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?
Hello Howard,
I have created a new sample project for you, where I used a Converter to convert the value depending the conditions you mentioned.
Hope this helps you.
Thank you for your answer -- I was looking for something a bit different.
I want to see a case case the columns are already defined ( I am doing it dymanically ) and then of those columns already in the grid make a custom field.
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.