how to load a table order by particular column
how to load a table order by particular column
I m using data tables 1.10.3.It is working fine.Now i want to load the data 'which is added more recently' first . So I have to use 'order by desc timestamp' (where timestamp is my column name) in my query. I tried to edit ssp.class.php for the same thing. I am not sure how to proceed. Any help would be appreciated!
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Best option would be to use
orderand set it to tell DataTables to order on your time stamp column.Allan
Sorry dude! I thought that will work but it does'nt
Can you link me to the page then please, so I can debug it.
Allan