Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
175
Programatically scroll vertically.
posted

I am trying to determine the best way to scroll an xmlGantt chart vertically.  I have more tasks that can fit onto a single screen, and I would like to set a timer to automatically scroll down the chart a page at a time through the tasks.

I don't see any methods that allow me to scroll the chart down vertically.  I was thinking of using  the activeRow method to select a particular row, but the xmlGantt doesn't expose a list of GantGridRows, so I don't have any way of determining the existing GanttGridRow that I need to pass into the activeRow() method.

Parents
  • 35319
    posted

    Hello Timothy,

     

    Thank you for your post. I have been looking into your question and I have managed to access the XamGantt’s ScrollBar by using the default XamGantt style. You can find it in :

     

    C:\Program Files (x86)\Infragistics\2013.2\Silverlight\DefaultStyles\Gantt\generic.shared.xaml

     

    Having an instance of the Scrollbar is easy to manipulate its value.

     

    I am attaching a sample application(GanttSLScrollBar.zip) that shows my approach.

     

    Please let me know, if you need any further assistance on this matter.

    GanttSLScrollBar.zip
Reply Children