Author Topic: I need a custom sorting for a single column.  (Read 2914 times)

VigneshVpn

  • Newbie
  • *
  • Posts: 33
    • View Profile
I need a custom sorting for a single column.
« on: March 27, 2019, 05:13:55 pm »
Hi,

In my grid i have a column named as file number and the values will be "file-1,file-2,....file-10,file-11...etc". here normal sorting is working fine until the file reach file-10. if list over the count of 10 then it sorted as follows,
"file-1,file-11,file-12,file-2,file-3,file-4....etc". But  i need the format of sorting is "file-1,file-2,file-3,.....file-9,file-10,file-11...etc".

So plz help me on this issue. how to solve this issue in sorting.

Thanks in advance.

VigneshVpn

  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: I need a custom sorting for a single column.
« Reply #1 on: March 28, 2019, 03:02:22 pm »
please anyone have any idea on this issue??? plz share with me.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: I need a custom sorting for a single column.
« Reply #2 on: March 29, 2019, 07:14:09 pm »
you could use custom sorting for this.

VigneshVpn

  • Newbie
  • *
  • Posts: 33
    • View Profile
Re: I need a custom sorting for a single column.
« Reply #3 on: March 30, 2019, 01:01:13 pm »
how? I tried but i cant. is there any logic t do this. plz help me.