Here my picture, i want to limit the number of showing on pagination because it is make over width on my page, but i got difficult, anyone can help me?
Thank you for helping, but i still got the problem that the output for simple_numbers , full_numbers , first_last_numbers the amount of number is same, i dont find that the pagingType can limit the amount of number
Yep, those types would still display the same number of buttons, but as Kevin said, you can create your own paging plugin to show less. What exactly do you want? No buttons? A fixed amount but less?
Replies
You can set the
pagingType
. There are also some paging plugins you can look at.Kevin
Thank you for helping, but i still got the problem that the output for
simple_numbers
,full_numbers
,first_last_numbers
the amount of number is same, i dont find that thepagingType
can limit the amount of numberYep, those types would still display the same number of buttons, but as Kevin said, you can create your own paging plugin to show less. What exactly do you want? No buttons? A fixed amount but less?
Colin
ohh i see "create your own paging plugin to show less" i should learn it first, what i want is like
first|current-1|current page|current+1|last
That sounds a lot like
pagingType: "full"
, only with words and not numbers - see example here.Colin
Maybe the ellipses paging plugin will be close. Looks like it has a setting where you can define how many page numbers to show:
Kevin
Thank you so much mr Kevin and mr colin, the problem has been solved, thank you for helping my duty