how to load a table order by particular column

how to load a table order by particular column

ysudhirkysudhirk Posts: 4Questions: 3Answers: 0

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

Answers

  • allanallan Posts: 61,805Questions: 1Answers: 10,118 Site admin
    Answer ✓

    Best option would be to use order and set it to tell DataTables to order on your time stamp column.

    Allan

  • ysudhirkysudhirk Posts: 4Questions: 3Answers: 0

    Sorry dude! I thought that will work but it does'nt

  • allanallan Posts: 61,805Questions: 1Answers: 10,118 Site admin

    Can you link me to the page then please, so I can debug it.

    Allan

This discussion has been closed.