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

Slot header color in Timeline

1 Answer 91 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 12 Sep 2008, 08:15 PM
I know I can change the color of a TimeSlot in the TimeSlotCreated Event, but Can I change the color of the 'Slot' header in a timeline view at runtime based on it's value?

1 Answer, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 15 Sep 2008, 01:23 PM
Hello Mike,

You can change the color of each Timeline View Slot with the following CSS selector:

div.RadScheduler_Outlook .rsColumnHeaderRow th 
    coloryellow

Unfortunately, the styles of each Timeline View Slot cannot be changed individually in this way. You can do this with JavaScript by iterating through these cells and alter their styles depending on certain values (which should be available to the script).




Regards,
Simon
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Scheduler
Asked by
Mike
Top achievements
Rank 1
Answers by
Simon
Telerik team
Share this question
or