scrollUnit

scrolls the specified number of units in the Units view

void scrollUnit(number step);
stepnumberthe number of units to scroll (set the positive value to scroll units to the right
side, the negative value - to the left side
).

Available only in PRO Edition

Example

scheduler.scrollUnit(5);  //scrolls 5 units to the right 
...
scheduler.scrollUnit(-5); // scrolls 5 units to the left

Applicable views:Units View
Details

This functionality is available in the PRO edition only.

The method requires the units plugin to be activated.

Back to top