Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

keep pagination displayed forever? #1

Open
HsienW opened this issue Jun 26, 2018 · 1 comment
Open

keep pagination displayed forever? #1

HsienW opened this issue Jun 26, 2018 · 1 comment

Comments

@HsienW
Copy link

HsienW commented Jun 26, 2018

Hi
This is a good tool but can you keep pagination displayed forever?
Currently driving data to less than 1 page will automatically hide.

@HsienW HsienW changed the title If pageSize is less than 10, it still shows keep pagination displayed forever? Jun 26, 2018
@nedislavd
Copy link

Hi @HsienW

I dug through the source code a bit and found this on line 99 - 101
if (!pager.pages || pager.pages.length <= 1) { // don't display pager if there is only 1 page return null; }

If you comment it out it will still display the pager even if there is less than 2 pages.

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

No branches or pull requests

2 participants