how to restrict the number of pages using data table pagination ?

how to restrict the number of pages using data table pagination ?

sruthysruthy Posts: 1Questions: 1Answers: 0

for example i have 100 records , 10 records for each page. i want to display 5 pages and on click of next/last displayed page no the next set of data has to be displayed.

This discussion has been closed.