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
1125
WinGanttView - Scroll bar doesn't scroll range set in UltraCalendarInfo
posted

HI

I'm getting the same behaviour as described here http://ko.infragistics.com/community/forums/t/87468.aspx whereby when you grab the timeline's scroll handle all move it all the way to the right of the scrollbar it does not move you to the end of the last task in the project.  If you run the attached example, don't resize the form, and grab the scroll handle and scroll all the way to the right you should see the issue, i.e. that the last visible date is now around 11 May rather than a date in June when the last task ends. 

The link above states that the Gantt uses the dates in the UltraCalendarInfo to set the ranges for the scrollbar.  I have tried changing those dates in that example too, but as far as I can see that makes no difference; moving to the scroll handle to the far left does not take me to 1 Jan 2012 and moving it to the far right does not take me to 1 Jan 2015 (the dates I have set in code).

I think the desired default behaviour for most use cases is that the scroll bar handle would take you from the date of the start of the first task to the date of the end of the last task.

As with the other one I've just reported, a swift response would be greatly appreciated.

Thanks, Tom

IG Gantt Issues.zip
Parents
No Data
Reply
  • 29105
    Verified Answer
    Offline posted

    Hello Tom,

    The GanttView control, similar to that of some of our other controls, (eg. TimeLineView, etc. ) support 'infinite scrolling' and designed after MS Outlook's Journal. Dragging the horizontal scrollbar left or right will not bring you to the beginning or end of a particular task because isn't a correlation between the scrollbar and the tasks displayed by the control. Which explains some of the behavior you see when the scrollbar bounces back a bit after it hits the far right or left. It's meant to allow the user to keep scrolling.

    I strongly recommend submitting a feature request to allow a specified "Scroll Mode" to enable how users would like to scroll the TimeLineView. You can submit one on our website at ideas.infragistics.com

    Let me know if you have any questions regarding this matter.

Children