I need to sort my grid based on method that takes the contents of two columns of row.
like f( col1, col2) .
I can't just use the raw value of the columns -- how do I do this?
additional info
I am doing something like this now:
fieldLayout.SortedFields.Add(
new FieldSortDescription(ColumnName1, e.SortDescription.Direction, false
));
new FieldSortDescription(ColumnName2, e.SortDescription.Direction, false
and I need something like fieldLayout.SortedFields.Add( fx(Column1, Column2));
thanks
Hello Howard,
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 added an UnboundField bound to the whole DataItem, which is Hidden and when you click a Button a custom sort is executed over the XamDataGrid.
Hope this helps you.