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

Change order of appointments in month view

4 Answers 62 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Augustine
Top achievements
Rank 1
Augustine asked on 07 Jul 2011, 01:02 AM
I know there's a render order to appointments in the month view (start time, duration, index) but is it possible to change this order? For instance, I would like certain appointments to always be the first one displayed on a day.

4 Answers, 1 is accepted

Sort by
0
Valeri Hristov
Telerik team
answered on 07 Jul 2011, 07:34 AM
Hello Augustine,

You cannot change the order of the appointments in MonthView with the current version of RadScheduleView. This feature will also not be available in the Q2 2011 release, that is scheduled for the next week, but we will definitely consider it for the upcoming releases.

Best wishes,
Valeri Hristov
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Mark
Top achievements
Rank 1
answered on 30 Aug 2011, 12:59 AM
Hey Guys,

This is just an FYI to address my need here.

Since Telerik is already doing all the work sorting by Start Time and duration it leaves the sorting of the "index" to you.

Here is how I sorted by "Subject" which in turn had the effect of sorting by (Start time, duration, subject).

IList<MyAppointmentClass> appoints = new List<MyAppointmentClass>();

using (var reader = cmd.ExecuteReader())
{
     while (reader.Read())
     {
          Appointment a = new Appointment();        
          ...
         appoints.Add(a)
     }
}

IEnumerable<MyAppointmentClass> sortedEnum = appoints.OrderBy(f => f.Subject);
IList<MyAppointmentClass> sortedList = sortedEnum.ToList();

return sortedList;

(credits: http://stackoverflow.com/questions/15486/sorting-an-ilist-in-c)

This appears to work for me

-Markus
0
Michael
Top achievements
Rank 1
answered on 21 Sep 2012, 08:05 PM
Has this feature been made available sine the last request?  If its not available can you give me hint as to how the sorting is taking place in case I can override it or customize it somehow.  Placing higher priority appointments at the top in the month view is a requirement I must meet.  Thanks.
0
Yana
Telerik team
answered on 24 Sep 2012, 10:30 AM
Hi Michael,

Unfortunately this feature is not implemented in RadScheduleView yet.  You can try the approach suggested in the previous post.

We are sorry for the caused inconvenience.

Greetings,
Yana
the Telerik team

Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

Tags
ScheduleView
Asked by
Augustine
Top achievements
Rank 1
Answers by
Valeri Hristov
Telerik team
Mark
Top achievements
Rank 1
Michael
Top achievements
Rank 1
Yana
Telerik team
Share this question
or