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

Timeline items vertical placement under groups

3 Answers 112 Views
TimeLine
This is a migrated thread and some comments may be shown as answers.
Fernando
Top achievements
Rank 1
Fernando asked on 18 Jul 2014, 05:01 PM
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

3 Answers, 1 is accepted

Sort by
0
Fernando
Top achievements
Rank 1
answered on 18 Jul 2014, 08:56 PM
Oh, while I'm at it: is there a way to remove the [+] sign beside the group description?! Thanks again!

Regards,
Takeshi
0
Accepted
Pavel R. Pavlov
Telerik team
answered on 23 Jul 2014, 11:35 AM
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.
 
0
Fernando
Top achievements
Rank 1
answered on 23 Jul 2014, 04:19 PM
Thank you for your time and attention Pavel, it's working very well now!

Regards,
Takeshi
Tags
TimeLine
Asked by
Fernando
Top achievements
Rank 1
Answers by
Fernando
Top achievements
Rank 1
Pavel R. Pavlov
Telerik team
Share this question
or