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
194
UltraGrid Sort Comparer
posted

Hi,

I have a custom IComparer bound to an UltraGridColumn with the SortComparer property.

Is there a good reason for the UltraGrid to call this custom IComparer by passing the UltraGridCell object to the compare method instead of the value of the Cell?

I see 2 inconveniences with this behavior:

  • Performances are breaking down with the double cast of objects into UltraGridCells
  • The specificity of the IComparer implemented

I can't see the advantages.

Thanks.