Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

It would be nice if Pagination showed ellipsis's when there are too many pages #2924

Closed
wtc-dstone opened this issue Nov 3, 2014 · 2 comments

Comments

@wtc-dstone
Copy link
Contributor

Please correct me if I'm wrong on this, but I haven't found an option to enable showing ellipsis's when you have more pages than "max-size". This incorrectly gives the impression that there are less pages than there actually are, especially when you're only on the first page. Now, I could disable rotation, which causes ellipsis's to appear, but rotation is pretty standard and it feels weird to turn it off.

Here's what I've got now:

First, Previous, 3, 4, (5), 6, 7, Next, Last

And here's what I'm going for:

First, Previous, ..., 3, 4, (5), 6, 7, ..., Next, Last

So, is there an easy way to do this already?

@chrisirhc
Copy link
Contributor

There's no easy way to do this. A pull request is welcome for such a feature.

@distinctdan
Copy link

I've added a PR for this one. (wtc-dstone is my work account):

#3035

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants