Prevent Scrolling - temporarily
Prevent Scrolling - temporarily
We are using scroller with server side processing and would like to stop the user from scrolling when we reach the point where an ajax request will be made then reenable it once the next page is loaded. Has anyone tried this? Examples?
This discussion has been closed.
Replies
Allan
1) In the _fnScroll method we added a call to a method that will disable scrolling from the mouse, keyboard, and also hides the Yscrollbar from view.
2) in datatables init we added a method on fnDrawCallback to reenable scrolling