10483 : Scroll the grid programatically so that it moves one node at a time when the next node in the list is not visible?

Question

Is there a way to scroll the grid programatically such that it moves one node at a time when the next node in the list is not visible? I have been trying to use MakeSureVisible but its not completely accurate and it causes the scroll bar to jump by a large increment.

Answer

You can control the TopNode set in the Grid by setting the Gantt.Grid.Gridstructure.TopNode.

Also from the very latest release you can access the scrollbars with Gantt.Grid.ScrollbarNodes (returns a Scrollbar)

 

Leave a Reply