Open mulgaBrian opened 7 months ago
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