Timeline items vertical placement under groups

4 posts, 1 answers
  1. Fernando
    Fernando avatar
    6 posts
    Member since:
    Jul 2014

    Posted 18 Jul 2014 Link to this post

    Hi,

    I'd like to know what is the criteria for items' vertical placement when the timeline item source is organized by groups. In my current scenario I would not like to have any group with a height greater than the rest. I thought, from observations, that this situation only occurred when the items' period overlapped, but apparently that is not all there is to it.

    Also, in case I do have items with overlapping periods in the same group, is there a way to order them vertically? I'm attaching a picture to better describe my question: in this case, the second group occupies a larger area because one of its items got placed in a different height! Thanks in advance.

    Regards,
    Takeshi
  2. Fernando
    Fernando avatar
    6 posts
    Member since:
    Jul 2014

    Posted 18 Jul 2014 in reply to Fernando Link to this post

    Oh, while I'm at it: is there a way to remove the [+] sign beside the group description?! Thanks again!

    Regards,
    Takeshi
  3. UI for WPF is Visual Studio 2017 Ready
  4. Answer
    Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 23 Jul 2014 Link to this post

    Hello Takeshi,

    The criteria for placing any item in a different row from the previous one is the overlapping. If the RadTimeline control detects that two items are overlapping (even with fraction of the second) it will place one of the items on different row. This criteria does not change when there is grouping.

    Regarding your question about controlling the positioning of the items, the answer is yes. You can define custom row index generator class. In it you will be able to define custom logic based on which the items will be positioned. You can take a look at our online demo to see a sample implementation.

    Regarding the requirement to hide the "+" sign of the groups, you can achieve this by setting the GroupExpandMode property of the RadTimeline to None. This will prevent the groups from collapsing and remove the sign.

    I hope this information is helpful. 

    Regards,
    Pavel R. Pavlov
    Telerik
     
    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.
     
  5. Fernando
    Fernando avatar
    6 posts
    Member since:
    Jul 2014

    Posted 23 Jul 2014 in reply to Pavel R. Pavlov Link to this post

    Thank you for your time and attention Pavel, it's working very well now!

    Regards,
    Takeshi
Back to Top