ScheduleView Appointment Order

2 posts, 0 answers
  1. Joe
    Joe avatar
    1 posts
    Member since:
    Nov 2014

    Posted 19 Nov 2014 Link to this post

    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!
  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 20 Nov 2014 Link to this post

    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.

     
  3. DevCraft banner
Back to Top