scrollUnit

scrolls the specified number of units in the Units view

void scrollUnit(number step);

Parameters

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

Required extension: ext/dhtmlxscheduler_units_view.js
Applicable views:Units View
Details

This functionality is available in the PRO edition only.

Back to top