ScrollBar.StartScroll

Syntax

StartScroll: function(sender, args);

Parameters

sender. Event source.

args. Information on the event.

Description

The StartScroll event occurs at slider move start.

Example

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:

ScrollBar