jQuery UI Widgets Forums Grid Custom Jqxgrid IP Sorting

This topic contains 1 reply, has 2 voices, and was last updated by  Dimitar 11 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Custom Jqxgrid IP Sorting #66108

    rayh34
    Participant

    Hello,

    I need to sort IP addresses in jqxgrid, so that each octet is sorted from lowest to highest. starting with the first octet. Example:

    21.222.221.11
    21.222.221.12
    096.0.1.76
    111.111.111.111
    111.112.111.111
    121.011.111.111
    121.012.111.111
    122.01.01.01
    122.01.01.2
    122.01.2.1.
    122.2.1.1
    124.1.1.1

    I have played around with the custom formatting but cant seem to get it to work. Your help would be much appreciated.

    Custom Jqxgrid IP Sorting #66115

    Dimitar
    Participant

    Hello rayh34,

    You would have to write your own custom sorting function to achieve this.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.