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 question #31

Closed
zoilorys opened this issue Aug 13, 2015 · 7 comments
Closed

Pagination question #31

zoilorys opened this issue Aug 13, 2015 · 7 comments
Labels

Comments

@zoilorys
Copy link

I will need to work with a lot of data from server, so i wanted to ask is it possible, if i'll get first 10 items from server and just the number of pages, to set number of pages for pagination? I did not found any kind of property, that would let me to do this. I just dont want to mess myself with your src.
And is there way to make table to not resize, when there is less items, like when you switch from page with 10 items to 3 items, so it fills the rest with blanks?

@AllenFang
Copy link
Owner

  1. So you just want to set the number of a page? If yes, there's actually no way to do this currently, but I can add it in the future.
  2. A way to make table to not resize when there is less items. I think it's a particular case for bootstrap table and perhaps you can use css to control the table. I dont want to solve this question probably.

@zoilorys
Copy link
Author

  1. To set the overall number of pages, so it is possible to bind click handler to button to request new data from server depending on chosen number of page. It is important, cause application will need to work with thousands of entries, and its not really good to fetch all of them at once.
  2. What i meant, is that it would be nice if when next page is less than prev, the diff is filled with empty rows to keep the size of table, counting elements per page.

@AllenFang
Copy link
Owner

  1. I thinks it's possible. But this advance feature which I need to do more plan and maybe take many times.
  2. ok, I understand what you mean. If I have a lots of free time, I will do this feature :)

@zoilorys
Copy link
Author

@AllenFang , nice to hear :) You've done great job so far, so thank you for that)

@joshhornby
Copy link

+1 on this. Any timescale?

@AllenFang
Copy link
Owner

HI @joshhornby, I've no any schedule for this currently, there's some stuff I need to do. But I will keep it in my mind :)

@smartameer
Copy link
Contributor

By giving height="auto" worked for me for removing the blank. :)

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

No branches or pull requests

4 participants