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
240
Natural sort order
posted

Hi

I am trying to have sort functionality on Ultra Win Grid on column header click. The problem is I want it to sort by Natural sort order. The field type is string.

Do we have Natural sort order functionality in UltraWinGrid? 

Thanks

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi,

    I don't know what you mean by "Natural sort order". But if you want to sort by anything other than the default, you would have to use a SortComparer on the column. You create a class that implements the IComparer interface and then you can control the sort order in whatever way you like.

Children