StartScroll: function(sender, args);
sender. Event source.
args. Information on the event.
Event. Mouse event.
Position. String. Slider shift direction. May have the Left | Right values.
UseMoveEvent. Boolean. Indicates whether mouse event is used.
The StartScroll event occurs at slider move start.
Executing the example requires the SimpleTreeList component with the Tree identifier (see Example of Creating the SimpleTreeList Component).
// Display scrollbar by extending title caps = Tree.getCaptions(); caps.getCaptions()[0].setWidth(300); caps.getCaptions()[1].setWidth(300); // Get scrollbar scroll = Tree.getScrollBarH(); // Set event scroll.StartScroll.add( function(sender, args) { console.log("StartScroll event:"); console.log(args); }); // Initialize event by moving slider by mouse or button
After executing the example the event is added.
See also: