How to limit number of paginate_button in pagination?
How to limit number of paginate_button in pagination?
pintres
Posts: 5Questions: 2Answers: 0
Hello,
As in the main question. Is it possible to influence the number of displayed paginate_button in pagination? For long tables (lets say when I have 13 pages to scroll) it shows up like this: "Previous 1 ... 9 10 11 12 13 Next" and for a table which is narrow horizontally it does not look good moving for half of the panel goes to the second row.
Can I limit it to sth like "Previous 1 ... active ... 13 Last"?
Thank you in advance
This discussion has been closed.
Answers
Hi @pintres ,
The best bet is to look at the options in
pagingType
, there are quite a few that may match your needs. There are also a fair few plugins, see here, that can either be used as is or used as a template for a new one.Cheers,
Colin
Hi @colin,
Thank you for your answer. I've already modified pagingType and language.pagination to my needs but it still does not offer what I need. I will check the plugins.
Thx!