How to set ordering and pagination false for datatables having bServerSide true?
How to set ordering and pagination false for datatables having bServerSide true?
chaitanya.anpat
Posts: 1Questions: 1Answers: 0
I have datatable whos bServerSide is set to true, but when its true while pagination it send back end call and get 10 records, on next page it again send back end call and fetch next records. Also when I set bServerSide true, I had to do server side sorting , I want to sorting on UI. I want datable to call ajax request but pagination and sort should be done on UI .
How to implement that?
This discussion has been closed.
Answers
With server side processing enabled the only data in the client is the page being displayed. Paging and sorting will always send a new request to the server. If you want paging and sorting to be at the client then you will need to turn off server side processing.
Kevin