IP address sorting - auto detection not working...

IP address sorting - auto detection not working...

wastedspacewastedspace Posts: 5Questions: 0Answers: 0
edited November 2011 in General
Hi there,

I'm using the ip-address plugin. It works fine if I choose a specific column for ip sorting, like so:

[code]"aoColumnDefs": [
{ "sType": "ip-address", "aTargets": [ 1 ] }
][/code]

The problem is if I rely on auto detection of an ip-address column (as it won't always be the same column where IP addresses are listed).
In the plugins page in the IP Address section it says "also has a matching type detection plug-in for automatic type detection". Am I missing something?

Cheers!

Replies

  • allanallan Posts: 63,535Questions: 1Answers: 10,475 Site admin
    Its probably a daft question - but did you install the automatic type detection plug-in for the ip-address type: http://datatables.net/plug-ins/type-detection#ip_address ? I just had a look at it, and it looks like it should work okay :-). Indeed I'm sure I've used it before.

    Allan
  • wastedspacewastedspace Posts: 5Questions: 0Answers: 0
    Aah...! I WAS missing something. Hadn't noticed the type detection plugins yet. It now works.

    Many thanks!
This discussion has been closed.