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

Stretch group headers

2 Answers 100 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 15 Aug 2011, 12:16 PM
Hello,
I have ResourceTypes collection bound to viewmodel and assigned dynamically at runtime. After that assign timeline view headers are shifted to the right and not all days are now stretched on the page. I have to use scrollbars.

Is it possible to stretch the group header after adding resourceTypes collection to the ScheduleView?

See attached pictures.
First picture without ResourceTypes
Second picture after ResourceTypes assigned. Last few days of a month are shifted to the right

Thanks
Robert

2 Answers, 1 is accepted

Sort by
0
Accepted
Valeri Hristov
Telerik team
answered on 15 Aug 2011, 12:31 PM
Hi Robert,

This is easy: you need to set MinTimeRulerExtent to some value that is the smallest timeruler length in pixels, for which you don't want a scrollbar to appear. Then you need to set MaxTimeRulerExtent to double.Infinity, so that even on a very large screen the timeruler will be always stretched. For more information about those properties you could check the following help article:
http://www.telerik.com/help/silverlight/radscheduleview-end-user-capabilities-timerulerconfiguration.html

Regards,
Valeri Hristov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

0
Robert
Top achievements
Rank 1
answered on 15 Aug 2011, 01:07 PM
Thank you very much, works perfectly

Robert
Tags
ScheduleView
Asked by
Robert
Top achievements
Rank 1
Answers by
Valeri Hristov
Telerik team
Robert
Top achievements
Rank 1
Share this question
or