EnableAutoScroll: Boolean;
The EnableAutoScroll property determines autoscroll mode.
Autoscroll starts on going of selection or dragged node out of component.
Use JSON or the setEnableAutoScroll method to set the property value and the getEnableAutoScroll method to get the property value.
Executing the example requires the SimpleTreeList component with the Tree identifier (see Example of Creating the SimpleTreeList Component).
// Set automatic scroll mode Tree.setEnableAutoScroll(true); // Reduce component sizes and expand the first node Tree.setHeight(100); Tree.setNodeExpanded(0, true);
// Select the outmost node and change selection -> automatic scroll is executed
After executing the example autoscroll mode is enabled for the tree.
See also: