how to define how many paginate buttons is created datatable?

how to define how many paginate buttons is created datatable?

MuriloNsantos17MuriloNsantos17 Posts: 3Questions: 2Answers: 0

I have an API, but this API is paginated in database. So, I have the max number of registers 1500 for example, but in the first consume, the API returned 100 rows and I receive too the max number of register (1500), in the Datatable logic the number of paginate buttons created is 1, but i need to create 15 buttons (1500 / 100).

I don't know if exists one parameter where I set the number of buttons paginate.

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    There's nothing like that out of the box, but you could create your own pagination plug-in. There are a few examples here that you could use as a template,

    Colin

Sign In or Register to comment.