getScrollState

returns the scroll position

object getScrollState();

Returns

objectthe scroll position object as { x:scrollLeft, y:scrollTop }

Example

var sPos = gantt.getScrollState(); // {x:58,y:180}
var posX = sPos.x;
var posY = sPos.y;

See also
Back to top