Sorting Links
Sorting Links
The json data for my table contains a list of names that link to another page on our site.
Because there is a unique id in the rel attribute and in the href, it doesn't sort on the name but the html as a whole.
[code]
Firstname Lastname
Firstname Lastname 2
Firstname Lastname 3
[/code]
Is there a way around this? Thanks.
Because there is a unique id in the rel attribute and in the href, it doesn't sort on the name but the html as a whole.
[code]
Firstname Lastname
Firstname Lastname 2
Firstname Lastname 3
[/code]
Is there a way around this? Thanks.
This discussion has been closed.
Replies
Yes indeed, just set the sType for that column to 'html': http://datatables.net/examples/advanced_init/html_sort.html
Regards,
Allan