We're Moving to a New Support Platform – Starting June 1st!
We’re excited to let you know that starting June 1st, we’ll be transitioning to a new support system that will be available directly on our product websites – Amelia, wpDataTables, and Report Builder. In fact, the new support platform is already live for Amelia and wpDataTables, and we encourage you to reach out to us there.
You'll always be able to reach us through a widget in the bottom right corner of each website, where you can ask questions, report issues, or simply get assistance.
While we still do not offer live support, a new advanced, AI-powered assistant, trained on our documentation, use cases, and real conversations with our team, is there to help with basic to intermediate questions in no time.
We're doing our best to make this transition smooth and hassle-free. After June 1st, this current support website will redirect you to the new "Contact Us" pages on our product sites.
Thanks for your continued support and trust – we’re excited to bring you an even better support experience!
Is it possible to display the paginate buttons at the top of the table as well as at the bottom? I have a table with an image column, and when you choose another page, the table updates, but stays at the bottom of the table. You have to scroll up to see the data and then scroll down again to change page. Having it in both locations would make it more user-friendly.
Also, is there a way to scroll the page to the top of the table whenever a user changes the page?
Hi onaforeignshore,
Thank you for your purchase.
In file wp-content/plugins/wpdatatables/source/class.wpdatatable.php around line 2671 you will see this code
You will notice the letter "p" which stands for pagination. Feel free to position it wherever you want for example
to position it between show rows per page and global search. Maybe you will need to apply some CSS after this.
About scrolling:
You can take a look at this simple example where after you click on pagination button it will scroll to the top of the page.
Scrolling to the table can be done also but it can require some code customization. You must find the datatable position so it can be scrolled to it.
Hope this can help.
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi Bogdan ,
I managed to get the pagination part done, but the jQuery isn't working. My code is:
I also tried your code sample included, but that wasn't working either. The console log never shows anything when you click on a paginate_button, which means the event isn't firing...
Regards,
Chris
I found a working solution:
You have to 'listen' to clicks on the 'body' element and then filter for '.paginate_button'.