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

Resource Sorting Order in Agenda View

1 Answer 91 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 04 Jul 2014, 05:58 PM
Hello,
We're taking advantage of both the standard (day/week/month) and agenda view of the Scheduler for showing an Appointment data set. In standard view we take advantage of resource grouping and use order to organize the columns according to our desired display order. In our data we always want "Program" (blue) to be first. In agenda view however, the order of the resources displayed across a similar time span does not seem to adhere to any particular order. In the attached screen grab the "Program" (blue) resource comes up first at 1am but then comes up second at 1:30am. Is there any way to use the resource order from grouping in the agenda view?
Thanks.

1 Answer, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 09 Jul 2014, 03:50 PM
Hello,

Thank you for contacting Telerik Support.

In this case I would suggest overriding the AppointmentComparer class Compare method for comparing two appointments. This way you can sort your appointments they way you want. I am attaching a sample project that shows how you can sort your appointment by the text value of a "User" type resource .

Hope that this will be helpful.

Regards,
Boyan Dimitrov
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
Scheduler
Asked by
Chris
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Share this question
or