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

Timeline View with varying group heights

1 Answer 83 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Robin
Top achievements
Rank 1
Robin asked on 31 Jan 2013, 04:11 PM
In my timeline view, I have three rows that will have a lot more activities than the others.  Is there a way to increase the height on just these three rows, and then scale the rest to fit ?  I have found I can change the height on all the rows in the GroupHeaderContentTemplate, but haven't figured out how I can only change the height for less than all of them.

Thank you.

Robin

1 Answer, 1 is accepted

Sort by
0
Accepted
Yana
Telerik team
answered on 01 Feb 2013, 01:50 PM
Hello Robin,

There is no way to increase the height of certain rows in TimelineViewDefinition manually, but I would suggest to set StretchGroupHeaders property of the ViewDefinition to True:

<telerik:RadScheduleView.ViewDefinitions>
    <telerik:TimelineViewDefinition StretchGroupHeaders="True"  />
</telerik:RadScheduleView.ViewDefinitions>

In this way the GroupHeaders will be stretched to the whole height of the control, and if there are more appointments for a specific Resource - the corresponding row will be expanded while the other rows will be narrowed.

Hope this helps.

Regards,
Yana
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
ScheduleView
Asked by
Robin
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or