Rank: Newbie Groups: Member
Joined: 9/1/2010 Posts: 6
|
I'm trying to color a couple of future days on a calendar to denote shipping cost. Put another way... I want to make the tomorrow Red, the following day Orange, and the following day Yellow.
I have created a couple of logic functions to manage weekends and holidays without much trouble, so I'm pretty confident that I can skip around the unavailable dates... but I'm not sure how I can apply a unique style (CSS class or inline style) to a specific date.
Any ideas?? I'm using the eo:Calendar Control.
Thanks again, Ryan
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
The only way you can do that is with custom rendering. With that you would handle the DatePicker's DayRender function to render raw HTML into each cell. You can then do whatever you like with the raw HTML.
Thanks!
|
Rank: Newbie Groups: Member
Joined: 9/1/2010 Posts: 6
|
Perfect, that will work great. Thank you for the help!
Ryan
|