Is there a way to modify the pagination info ?

Is there a way to modify the pagination info ?

JunwJunw Posts: 4Questions: 2Answers: 0

I'm trying to limit the data send over the server to the web page.
Datatable pagination seem to work by calculation total rows against page length.

Correct me if I'm wrong.
So for example, server data returns 100 rows, page length is 10, so there will be 10 pages on pagination navigation.

What i want to do is, server has 100 rows, but only return 10 at a time based on which page is clicked on.
Currently if i return 10 rows only, the numbers of pages is always 1.
Based on this server-side#Returned-data, there don't seem to be a way i can modified the pages listing.

This discussion has been closed.