autoscroll

enables autoscrolling while dragging a task or link out of the current browser screen

boolean autoscroll;

Example

gantt.config.autoscroll = false;
gantt.init("gantt_here");


Default value:

true

Related samples

Details

You need to use the reserved views and their ids for scrollbars while using the autoscroll option.

//horizontal scrollbar:
{view: "scrollbar", id: "scrollHor"}
//vertical scrollbar:
{view: "scrollbar", id: "scrollVer"}

If you use different names, the scrollbars will work but the "autoscroll" functionality won't.

See also
Change log

added in version 4.2

Back to top