sorting and pagination is not working while serverSide true
sorting and pagination is not working while serverSide true
karthi5686@gmail.com
Posts: 3Questions: 2Answers: 0
I given serverSide : "true" in datatable, sorting and pagination is not working in my datatable.. I comment the 'serverside : "true" ' sorting and pagination both working fine. But i need to do serverside operaion.
Please give your suggestion for my issue.
datatable version is : 1.10.1
Thanks,
Karthikeyan
This discussion has been closed.
Answers
Your own server-side script is responsible for sorting and pagination when "serverside:true".
See the docs:
When I given the below ajax its working fine,this one taken from datatable website.Its working with all functionality.
ajax:"http://www.datatables.net/examples/server_side/scripts/server_processing.php"
Same thing I paste in my local php file and call means without serverside enable only working . When I given serverSide : "true" paging and sorting not working. Please give your suggestion
I don't know where you got that script from - it is not a server-side processing script.
Why can't you follow the basic example?
http://datatables.net/examples/data_sources/server_side.html