onBeforeAutoScroll
fires before autoscrolling has started
boolean onBeforeAutoScroll(object position);
| position | object | the current cursor position |
| boolean | returning false will prevent autoscrolling |
Example
$$("datatable1").attachEvent("onBeforeAutoScroll", function(position){
// some code
});
Details
The position object contains two properties:
- x - (number) the horizontal cursor position
- y - (number) the vertical cursor position
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support,
connect with other developers, and share your feedback there.