how to use order in server processing
how to use order in server processing
jemz
Posts: 131Questions: 40Answers: 1
HI i just want to ask how can I declare this parameter in datatables
order[i][dir]
I am confuse,I tried this but I get error
$('#example').dataTable( {
"processing": true,
"serverSide": true,
"ajax":{
url:"querydata4.php"
},order[
{0,"desc"} //0 for my column id.I want it to display in desc order
]
});
Thank you in advance
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Check the example:
http://datatables.net/examples/basic_init/table_sorting.html
Thank you so much.