how to show next 8 items when click next button in datatable pagination

how to show next 8 items when click next button in datatable pagination

chrishanchrishan Posts: 1Questions: 1Answers: 0

Hi I am using datatable plugin and it is really awesome. I want to do few customization for the pagination.

-When user in the first set of pages, I want to disable back button
-When user hit next button, pagination must skip to next set of pages for example if user in 1 to 8 page set if user hit next button, it should skip to 9 to 16 set of pages rather than go to page by page when click next (eg : when user in first page if user clicks next button it'll go to second page)
-Finally when user in the last set of pages for examples 17 to 20, it can be whatever the amount below 8 , next button should disable

Is it possible to implement above requirement ?

This discussion has been closed.