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
715
External Sorting and AlternateBinding Field
posted

Hi,

I'd like to use external sorting for my xamDataGrid (SortEvaluationModel = UseCollectionView).  The documentation says external sorting is not supported for unbound fields.  But how come external sorting is also not supported for AlternateBinding fields?  For my AlternateBinding field, I have the AlternateBinding specified, so shouldn't the grid know the underlying property name to use to update the collection view?

Thanks,

Harold

Parents
No Data
Reply
  • 16495
    Offline posted

    Hello Harold,

    In order to use external sorting with AlternateBinding in XamDataGrid you have to implement IComparable interface for the underlying property you want sort. I have attached a simple sample application where you can test this approach.

    Let me know if you have any questions.

    Sincerely,
    Zhivko
    Associate Software Developer

    ExternalSorting.zip
Children