-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
full_numbers_no_ellipses not working in v2 #586
Comments
Hi Brian, Yes, the paging plugin API were updated a bit for v2. Thanks for posting your workaround! I'll take some time soon to update the paging plugins in this repo. |
@AllanJard was the input paging plugin updated to work with the new 1.10 or 2 API ? |
No - I haven't had a chance to work on that yet. Pull requests welcome though. If not, I'll get to it sometime soon - hopefully this week or next all being well. |
@AllanJard Any news? Any news would be helpful, thank you :) |
Not yet. It will be ASAP though. |
I have found that the plugin does not get the parameters (page,pages).
My fix is to get these from the table itself.
I removed the parameters and added this.
var pageinfo = table.page.info();
var page = pageinfo.page;
var pages = pageinfo.pages;
Everything now works as expected.
It looks like this will apply to all the pagination plugins.
HTH
Brian
The text was updated successfully, but these errors were encountered: