This is a migrated thread and some comments may be shown as answers.

Sizing and scrolling

2 Answers 89 Views
GanttView
This is a migrated thread and some comments may be shown as answers.
Rob
Top achievements
Rank 1
Iron
Iron
Rob asked on 07 Oct 2013, 05:50 PM
I am having a couple of issues regarding scrolling and sizing of the gant control.

As you can see from my attached screen shot I have 3 tasks bound to the control. I am unable to scroll the right panel horizontally to view 2 out of the 3 tasks. Not sure what I'm doing wrong?

I'm also having an issue stretching the control to fill the grid cell.

Many thanks.

2 Answers, 1 is accepted

Sort by
0
Polya
Telerik team
answered on 08 Oct 2013, 01:29 PM
Hello Rob,

The RadGanttView visible range is set through the VisibleRange dependency property. The default value of this property is a DateRange of one week. Setting it to a suitable DateRange enables scrolling to the end of the VisibleRange.
Please find attached a sample project that binds the VisibleRange to a property from the ViewModel. The value of this property is a DateRange that encompasses the DateRanges of all tasks in the TasksSource of the RadGanttView.

Hopefully this helps. Feel free to contact us with any further problems or concerns.

Regards,
Polya
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Rob
Top achievements
Rank 1
Iron
Iron
answered on 14 Oct 2013, 06:41 PM
Hi Polya,

That works wonderfully - many thanks.

Rob
Tags
GanttView
Asked by
Rob
Top achievements
Rank 1
Iron
Iron
Answers by
Polya
Telerik team
Rob
Top achievements
Rank 1
Iron
Iron
Share this question
or