Paging does not take me to the top of the table
Paging does not take me to the top of the table
a2ztech
Posts: 19Questions: 2Answers: 1
I tried few sample examples here on this site and observed that paging does not always take me to the top of the table (it takes me sometime at the center and sometime at the bottom of a table).
Hope to control this behavior? Any help will be appreciated. Thanks!
Note: I display 50 records per page in my table.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
The paging control doesn't alter the page's scrolling at all (unless it causes the table to be shortened and the browser has a smaller page to draw of course).
You could listen for the
page
event and then alter the page's scrolling position to the top of the table.Allan
thanks @allan.
for anyone who is interested, following is the snippet which will help you get to top of the table during pagination (hope it helps):