Quantcast
Viewing all articles
Browse latest Browse all 82167

Move scroll bar to first row when clicking next/ previous - datatables

I am using datatables for displaying data in grid, everything works fine except for one issue (cosmetic issue).

When users go to end of page 1(now the scroll bar is at the end of the grid) and when they click any of the pagination button (next / previous / first / last), the scroll bar doesnt go back to top instead it stays same position where it was in previous page. Is there a way to reset the scrollbar position?

Thanks,
Barani

Viewing all articles
Browse latest Browse all 82167

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>