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

Pagination Windows settings #599

Closed
iamramit opened this issue May 31, 2018 · 2 comments
Closed

Pagination Windows settings #599

iamramit opened this issue May 31, 2018 · 2 comments

Comments

@iamramit
Copy link

iamramit commented May 31, 2018

I need to set the pagination so that if i have 16 pages each 10 records per page,
I set the options of pagination to ,
pagination: {
innerWindow: 2,
left: 1,
outerWindow: 2,
right: 1},

What i see with these settings is
When on First page, i see,
screen shot 2018-05-31 at 7 51 08 pm

When on the middle I see
screen shot 2018-05-31 at 7 51 22 pm

When on the last i see:
screen shot 2018-05-31 at 7 51 30 pm

So what i actually i want to see is 👍

Beginning:
screen shot 2018-05-31 at 7 50 01 pm

Middle:
screen shot 2018-05-31 at 7 50 12 pm

Last:
screen shot 2018-05-31 at 7 50 17 pm

so basically i need to see First 5 only when i am on beginning of them , and on the last vice-versa,
I know this can be achieved with left:
but it stays there, even when i reach middle.

Please support me with your answer.
Thank you in advance

@iamramit iamramit changed the title Pagination Pagination Windows settings May 31, 2018
@mcglonelevi
Copy link

I don't think this is possible using default pagination from what I have read.

@javve
Copy link
Owner

javve commented Dec 18, 2018

This is an interesting feature request.
I've added it to the wishlist and I may take it in account next time I work with the pagination. I'll close this issue until then.

@javve javve closed this as completed Dec 18, 2018
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

3 participants