Restricting row height in horizontal grouping

3 posts, 0 answers
  1. Philipp
    Philipp avatar
    17 posts
    Member since:
    Jun 2011

    Posted 14 May 2014 Link to this post

    Hi all

    I have a RadScheduleView grouped by resources in a horizontal view. My problem now is that if the view does not contain many rows, every row is stretched so that the rows take all space (see screenshot). This doesn't seem to be because of any of my templates (which don't resize).

    In order to simplify diagnosis, please check the second screenshot. I overwrote the height of all elements in the style, including the groupheader (green background). Basically, that GroupHeader doesn't have a parent anymore, it's just part of it's parent (AppointmentsPanel). I assume that parent stretches content, which I something I'd rather not have as it screws the layout.

    What I basically want is a automatic height, rather than the control stretching all rows to take up all vertical space. Any idea how I can set this?

  2. Yana
    Yana avatar
    4603 posts

    Posted 19 May 2014 Link to this post

    Hi Philipp,

    Could you please check whether you've not set StretchGroupHeaders property of the TimelineViewDefinition to true? Setting this property actually stretched the group headers, so that they take all the space.

    Let us know whether this helps.

    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
  3. Philipp
    Philipp avatar
    17 posts
    Member since:
    Jun 2011

    Posted 19 May 2014 in reply to Yana Link to this post

    Hi Yana

    That fixed it! The property wasn't set at all, and I guess it defaults to true. Thanks for the pointer :)
Back to Top