Sort Column by Time
-
I have a table with 2 columns of information, date and time. The date format makes sorting easy, because it’s simply 2/26/2014. However, the time is not quite so easy. It’s format is 4:24:43 PM.
After looking into datatables, I believe I need to implement a custom sType and get it to recognize this column as it with
"aoColumnDefs": [ { "sType": "my-time-format", "aTargets": [ 1 ] } ]
Is this correct, and can you direct me to how I would tie this new stype into your plugin?
Thanks.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Sort Column by Time’ is closed to new replies.