Serverside sort by attribute
Serverside sort by attribute
mattct
Posts: 9Questions: 6Answers: 0
Hi -
I'm looking to sort a table by date, however the date output format is not suitable for sorting.
How can I return json data from the server to sort by timestamp, but output the date in the format I require?
Are there additional attributes i can return with the data?
I see this can be done when outputting the data as html
https://datatables.net/forums/discussion/comment/141467/#Comment_141467
Thanks
This discussion has been closed.
Answers
You can use HTML5 attributes - see example here. That would be the way to go,
Colin
this may help as your table source is json.