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

Timeline view by various time groups

3 Answers 83 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Dan
Top achievements
Rank 1
Dan asked on 22 Feb 2012, 04:09 PM
Is there a way to have scheduleView timeline group day day, week, month, quarter in a way that the user can specify the grouping they want.  Attached is a proposed mockup of what i'm trying to accomplish.

3 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 24 Feb 2012, 12:43 PM
Hello Dan,

You cannot have the ScheduleView grouped exactly as in the picture. Anyway, you can achieve various types of grouping using custom TickProviders. I've attached an example to demonstrate some of them. Please download the attachment and give it a try.

If you have any additional questions, write to us again.

Greetings,
Yana
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Dan
Top achievements
Rank 1
answered on 24 Feb 2012, 03:38 PM
I might be able to do something with this.  Is there a way for the timeslot widths to be set / adjusted to a fixed width so as more visable days are added, the slots don't shrink but rather stay there fixed size and the timeline will just scroll horizontally to show all the time slots.
0
Yana
Telerik team
answered on 27 Feb 2012, 03:45 PM
Hi Dan,

You can use MinTimeRulerExtent property of the ViewDefinition, for example try it like this:

<telerik:RadScheduleView Grid.Row="1">
    <telerik:RadScheduleView.AppointmentsSource>
        <telerik:ObservableAppointmentCollection />
    </telerik:RadScheduleView.AppointmentsSource>
    <telerik:RadScheduleView.ViewDefinitions>
        <telerik:TimelineViewDefinition VisibleDays="350" MajorTickLength="1day" MinorTickLength="1day"
                TimerulerMajorTickStringFormat="{}{0:dd}" MinTimeRulerExtent="8000">
            <telerik:TimelineViewDefinition.GroupTickLength>
                <my:MonthlyTickProvider />
            </telerik:TimelineViewDefinition.GroupTickLength>
        </telerik:TimelineViewDefinition>
    </telerik:RadScheduleView.ViewDefinitions>
</telerik:RadScheduleView>

More information how to configure the TimeRuler can be found here.
Hope this helps.

All the best,
Yana
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
ScheduleView
Asked by
Dan
Top achievements
Rank 1
Answers by
Yana
Telerik team
Dan
Top achievements
Rank 1
Share this question
or