Quantcast
Viewing all articles
Browse latest Browse all 7205

How to sort Appointments with the same time interval

This example illustrates how to sort Appointments with the same time interval. This can be useful if you wish to sort all-day appointments (or daily appointments with the same Start and End values) by your custom rule.

This functionality may be introduced by implementing a custom DevExpress.XtraScheduler.Services.Internal.IExternalAppointmentCompareService service.

Question Comments

Added By: Marvin Dongen at: 4/10/2014 4:09:04 AM    

Can I also get an example how to implement this in ASP.NET?

Added By: Stijn Vandenbroucke at: 6/15/2015 12:21:40 PM    

Is there any possibility to perform this on all appointments? And not only on those with 'same time interval'?

Best regards,
Stijn.

Added By: Oleg (DevExpress Support) at: 6/16/2015 2:13:33 AM    

Hello Stijn,
By default, SchedulerControl sorts appointments by their time interval (the start and end dates). Only for appointments with the same start and end time, you can specify a custom sort algorithm. There is no capability to customize the sort order for appointments in case at least one of these dates is different. We have plans to provide more extended capabilities to customize the appointment layout (including the location of appointments within a time cell) in the scope of the following thread:
Provide a way to define a custom appointment layout
However, we have not yet decided when it will be implemented. Thus, at present we can't suggest any solution to customize the appointment sort order in case appointments have different start or end dates.


Viewing all articles
Browse latest Browse all 7205

Trending Articles