DraggerSize: Number;
The DraggerSize property determines slider width.
Use JSON or the setDraggerSize method to set the property value and the getDraggerSize method to get the property value.
Executing the example requires the SimpleTreeList component with the Tree identifier (see Example of Creating the SimpleTreeList Component).
// Display slider by extending the title caps = Tree.getCaptions(); caps.getCaptions()[0].setWidth(300); caps.getCaptions()[1].setWidth(300); // Get scrollbar scroll = Tree.getScrollBarH(); // Set minimum and current slider values scroll.setDraggerMinSize(100); scroll.setDraggerSize(50);
After executing the example minimum and current slider width is set.
See also: