SSP class server-side ORDER BY
SSP class server-side ORDER BY
dadko123456789
Posts: 8Questions: 1Answers: 0
Hello,
I use that code https://datatables.net/examples/server_side/simple.html and I need to add ORDER BY to query but on the server-side, in PHP file, not in a script.
How can I do that?
Thanks
This discussion has been closed.
Answers
The order is defined by the order requested from the client (i.e. the browser). It is sent as part of the
order
property to the server so it can be processed there. If you only want one column to be orderable, usecolumns.orderable
to disable ordering on columns you don't want to be orderable.Allan
I need more columns to order, and want to use ORDER BY function in the server-side script, but don't know how to edit the query.
Any advice how to do it?
thanks!