TablePress pagination doesn't jump to the top of the page
TablePress pagination doesn't jump to the top of the page

Hi,
I'm using DataTables in Tablepress for Wordpress but I'm having a problem with the pagination that I don't know how to solve.
My table has a lot of rows so I'm using a maximum 50 rows per page. When the user scrolls down to see the last row and clicks the "next" button the next page loads but the view doesn't jump to the top of the table. This is not very user friendly. The user has to be aware that the page already changed and scroll all the way back up to see the top of the table again.
How can I solve this?
Thank you for the help!
Best Regards,
João
Answers
That sounds like standard/expected behavior of Datatables. One suggestion would be to use the
page
event and in the event use a function to scroll to the HTML element you want. Something like this:http://live.datatables.net/suneguki/1/edit
Kevin