Custom pagination plugin
Custom pagination plugin

We have been using the pagingType option to use a custom pagination plugin however after upgrading to 2.2.2 we are getting an error stating plugin is not a function. I tried other pagination plugins from https://www.npmjs.com/package/datatables.net-plugins?activeTab=code and got the same error.
Anyone know how to fix this?
Answers
Hi,
What paging plugin are you using? The old ones from 1.x are not compatible with v2 - it uses a different structure. A number of the plugins haven't yet been rewritten or updated yet I'm afraid.
I did rewrite the input paging plugin which might be of interest? I've also for a proof of concept for a similar one with a
select
instead of an input if that might be of interest?Allan
Thanks Allan, this helps. Do you have a JS version of the example?
Not sure I understand your question but maybe you are asking how to load the CSS and JS files on a standard web page. Use the links shown in the sources section and create the appropriate
link
andscript
tags. Is this what you are asking for?Kevin
It's linked in the post. Or were you looking for something else?
Allan