Server side processing with Next and Previous buttons
Server side processing with Next and Previous buttons
mansidixit1805@gmail.com
Posts: 4Questions: 0Answers: 0
Problem:
This is my DataTable and I would want to have Next - Previous buttons instead of numbers. Is there a way to customize the buttons in DataTable for server side processing.
Replies
Yes, use the
pagingType
option. Set it to besimple
.Allan
pagingType option gives me 'Next' and 'Previous' but these buttons are not actionable meaning nothing happens on-clicking the buttons. How can I trigger ajax call for next page using these buttons similar to what we do with the numbered paging.
Seems to work okay here: https://live.datatables.net/qoliyehi/2/edit .
Perhaps you can link to a page showing the issue?
Allan
yeah...my response was missing resultFiltered, hence it didn't work.
Working fine now after adding the paramater.
Thanks Allan for support !!!