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

ScheduleView Appointment Order

1 Answer 22 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Joe
Top achievements
Rank 1
Joe asked on 19 Nov 2014, 04:44 PM
Currently, in my day view I have several items, 2 of which begin and end at exactly the same time (for this, let's assume they are each 30 minutes in length) and are therefore side-by-side in the scheduler. If I change the values of the item on the right, so that it is now 1 hour in length, it moves to the left of the 2 items.

My query is how can I control this behaviour? What values is the scheduler sorted by, and can they be changed? Or perhaps it's even a bug, albeit one which has to have a rather specific set of criteria to be seen.

The same behaviour can be seen on the ScheduleView Demo, by moving 2 items of the same duration next to each other, move one to start fractionally later (it then moves to the right, as it starts later - this is expected - and then move that later appointment back to the same start time, and it moves back to the left of the 2 items.

Any help on this would be much appreciated!

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 20 Nov 2014, 11:14 AM
Hi Joe,

I am afraid that the way appointments are ordered in the ScheduleView ViewDefinition cannot be customized - it is set in the internal code of the control and depends on a few things - the Start/End times of the appointment ( and its duration) as well as their order in the Appointments collections that is set as AppointmentsSource of the control.

We're sorry for any inconvenience caused.

Regards,
Yana
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
ScheduleView
Asked by
Joe
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or