Resource Sorting Order in Agenda View

2 posts, 0 answers
  1. Chris
    Chris avatar
    13 posts
    Member since:
    Oct 2010

    Posted 04 Jul 2014 Link to this post

    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?
  2. Boyan Dimitrov
    Boyan Dimitrov avatar
    1728 posts

    Posted 09 Jul 2014 Link to this post


    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.

    Boyan Dimitrov

    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 R3 2016 release webinar banner
Back to Top