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

DayView Appointment Styling Question

1 Answer 49 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Jess Askey
Top achievements
Rank 2
Jess Askey asked on 08 Sep 2010, 06:53 AM
I have a scheduler that will primarily exist in DayView. I am filling each timeslot with multiple reservations and they nicely stack from the left to the right when they are in the same timeslot. I have two questions about how the appointments are drawn.

1. Appointment Width - The appointments are autosized based upon the number of appointments at that timeslot. So, if there are 3 appointments, then they are each 33% of the width of the DayView appointment column, etc. However, I would like to size these statically based upon another property of the appointment, so if a timeslot had 4 appointments and the first appointment involved 4 people, the second, third and fourth involved 2 people (each, subtotal 6), then I would have have resulting appointments that were 40%, 20%, 20% and 20% wide. Im not opposed to setting up standard CssClasses that are in increments of 10% if needed if that is the only option, I just don't know what my options are based upon reading the docs. If I did need to set up CssClasses, how would that impact my use of existing classes like 'rsCategoryYellow'. Im also not opposed the javascript if that is possible. Server side would be nice tho!

2. Appointment Order - Im using a custom appointment provider. However, it seems that when I return a list of Appointments in a specific order, that the appointments are not quite drawn left-to-right in each timeslot based upon the appointments in the bound list. Is there a way to control the order in which appointments are rendered or do I have something fubared in my provider most likely?

thank you... lovin the scheduler so far.

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 10 Sep 2010, 01:29 PM
Hello Jess,

1. This is not supported.

2. You can consider using the SortingMode property for Timeline view. If you need even further control over sorting of appointments, you can use the AppointmentComparer property of RadScheduler as shown in this forum thread.  


Best wishes,
Peter
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Scheduler
Asked by
Jess Askey
Top achievements
Rank 2
Answers by
Peter
Telerik team
Share this question
or