Scroll state in resource table


#1

Hi,
Is there any way to get scroll state of the scroll in resource grid ?
GetScrollState returns only gantt scroll state.


#2

Hello Wolland,
The getScrollState method only returns the scroll state of the Gantt timeline. And it is working only if you use the default scrollbar names:
https://docs.dhtmlx.com/gantt/desktop__layout_config.html#requiredviewsandsettings
So, if you use the same scrollbars for the resource views, you will get the same scroll values.

There are no built-in methods to get the scroll position of the grid and timeline when you use custom scrollbar names. That includes the resource views.
But you can manually obtain the position by checking the DOM properties of the scrollbars that are attached to the views: