Is there a way to programatically set the visible date range?
i have been working with your custom tick interval sample, and I have implemented an IDateRange object, but despite my attempts to assign this either in XAML or C#, the GANTT always displays only the current year.
3 Answers, 1 is accepted
0
Miroslav Nedyalkov
Telerik team
answered on 22 Mar 2012, 09:34 AM
Hi Laris,
Yes, you can set the VisibleRange and the GanttView control should redraw to respecting your change. Unfortunately there is bug that prevents the Gantt to reflect changes on the Start and End properties of the VisibleRange and you need to change the whole VisibleRange. This bug will be fixed in the next internal build.
Regards,
Miroslav Nedyalkov
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Any chance you can share a code snippet demonstrating this? Seems straightforward, but I just can't get it to work, even if I re-assign the entire object.
Please refer to the attached sample project. In the current version only the first button works correctly and in the next internal build all buttons will work fine.
Hope this helps.
All the best,
Miroslav Nedyalkov
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>