I have seen several threads on sorting when using a converter, but none specific to my question. I'm currently using Q1 SP2.
I am retrieving entities via WCF RIA Services, and combining two columns into one column of the RadGridView using a converter. The converter requires that I pass in the entire entity, and the sort for the column can only be based on the result. Is there now a solution for binding the entire entity to a column, converting the entity into the actual column value, then sorting on that value?
Here is my specific case. The entites returned from RIA Services have two DateTime fields. The column is bound to the full entity, and the converter selects which of the two dates to display in the column. That is all worikng fine. However, I want to sort the column based on the date selected by the converter. Any solution?
I am retrieving entities via WCF RIA Services, and combining two columns into one column of the RadGridView using a converter. The converter requires that I pass in the entire entity, and the sort for the column can only be based on the result. Is there now a solution for binding the entire entity to a column, converting the entity into the actual column value, then sorting on that value?
Here is my specific case. The entites returned from RIA Services have two DateTime fields. The column is bound to the full entity, and the converter selects which of the two dates to display in the column. That is all worikng fine. However, I want to sort the column based on the date selected by the converter. Any solution?