Timeline View with varying group heights

2 posts, 1 answers
  1. Robin
    Robin avatar
    46 posts
    Member since:
    Jul 2012

    Posted 31 Jan 2013 Link to this post

    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.

  2. Answer
    Yana avatar
    4547 posts

    Posted 01 Feb 2013 Link to this post

    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:TimelineViewDefinition StretchGroupHeaders="True"  />

    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.

    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft R3 2016 release webinar banner
Back to Top