I've got a grid of documents with a link column and just want to display the file names of the URI.
The sorting is using the URI (which feels wrong) and so added my own Comparer but the compare isn't being use. I've looked at the HyperlinkColumn and seen that the SortComparer is set to an internal UriComparer if the datatype is Uri. Shouldn't my Xaml win? It looks like I might have to bind to a string instead? Should the sorting be on the content or the data? Should I reset the sort comparer in code?
<igGrid:HyperlinkColumn IsSortable="True" IsSorted="Ascending" ContentBinding="{Binding Attachment.Filename}" Key="Attachment.Url" TargetName="_blank" HeaderText="File Name" SortComparer="{StaticResource IsThisRequiredAttachmentRowComparer}"/>
11.1.20111.2115
Hello blakem,
The service release containing the fix for your issue is out, you can download it from: https://ko.infragistics.com/Membership/Default.aspx?panel=Downloads#Downloads
I'd be glad to receive a feedback on the outcome.
I created a support ticket for this issue with number CAS-83296-XD69XC and I linked it to issue number 100643, so you can be automatically notified when the resolution for this is available for download.
If you need any additional information on this matter, please do not hesitate to ask.
This is a bug. I have entered it into our system a bug report 100643 and will have developer support make a case for you for tracking purposes.
As a workaround you can just set this up at run time via code. Then it will take.