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.
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.
I keep getting the following error when I move your code example into my application:
Error: Unhandled Error in Silverlight Application Error HRESULT E_FAIL has been returned from a call to a COM component.
I think there is some sort of problem with the link between the method definition in the xaml and my code behind. Do you have any suggestions?
I am checking if this is still an issue for you.
If you require any further assistance please do not hesitate to ask.
Hi Timothy,
Thank you for your replies. I was looking into your issue and I was wondering whether you could isolate it in a sample application. This way I could investigate it on my side and provide you with more accurate assistance on this matter.
Looking forward to hearing from you.