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

Timeline 1 day view (like Month)

5 Answers 105 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Toby Riley
Top achievements
Rank 1
Toby Riley asked on 19 Dec 2011, 02:08 PM
HI,

What I want to do (and could do in the Scheduler control) was have the timeline view represent a full day but ignoring the start and end times. It was just like the monthview (showing one day) with all the appointments listed vertically.

How can I do this with the scheduleView?

Thanks Toby.

5 Answers, 1 is accepted

Sort by
0
Dani
Telerik team
answered on 20 Dec 2011, 11:18 AM
Hello Tobias,

There are properties you can use to modfy the Timeline view. Please, check the Configurator online example and experiment with the settings to see how the TimelineView display changes.

You can use the VisibleDays property and set it to 1 to limit the number of days visible. You can use the ShowTimeRuler boolean property if you do not wish to display ticks. You can further customize the length of the TimeRuler with MinTimeRulerExtent and MaxTimeRulerExtent properties.

I hope this will be helpful.

Greetings,
Dani
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Toby Riley
Top achievements
Rank 1
answered on 20 Dec 2011, 10:10 PM
Hi Dani ,

I've played around with those settings but I can't get away from the fact that the appointment widths are related to the duration and also that fact that the appointments start at the start time. (see attached)

I could do this with a simple grid but seen as the month view does what I want I was hopping we could configure this.

Can you help?

Tobi.
0
Dani
Telerik team
answered on 22 Dec 2011, 10:56 AM
Hi Tobias,

With the current implementation it is not possible to achieve the exact same appointment rendering in TimelineView as in your screenshot. You can customize the view itself using available attached properties and the TimeRulerItemStyleSelector for the ticks. Appointments, however, will not stetch to fill in the available space. 

This behavior is a  feature that is planned to be implemented, but for the time being I cannot engage with a certain timeframe.

Nevertherless, you can achieve a similar result with a custom view definition if you inherit the MonthViewDefinition. I attach here a demontsrative sample. The custom view definition shows only a limited number of days, starting from Today. Furthermore, the WeekGroup on the left is hidden by setting Width="0" in the MonthViewBottomLevelWeekGroupStyle of the GroupHeaderStyleSelector.

I hope this will be helpful.

All the best,
Dani
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
0
Toby Riley
Top achievements
Rank 1
answered on 22 Dec 2011, 12:09 PM
Hi Dani,

This could work, would it be possible to show only 1 day?

Tobi
0
Dani
Telerik team
answered on 22 Dec 2011, 01:44 PM
Hi Tobi,

The MonthViewDefinition is a view that is grouped by week and cannot display less than 7 days.

Regards,
Dani
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Tags
ScheduleView
Asked by
Toby Riley
Top achievements
Rank 1
Answers by
Dani
Telerik team
Toby Riley
Top achievements
Rank 1
Share this question
or