Hello everyone,
Iv’e been looking to incorporate a calendar into my web app and came across dhtmlx which is amazing in my opinion. I just have a problem because what I am trying to achieve is a lot more simple then any of the calendar samples I have seen in here.
I’m trying to simply add 2 different colors to the background of specific dates. Green and Red. Iv’e explored the API and could not find anything that will help me achieve this very simple feature.
So by default the current date on the calendar is blue or whenever you click on a date that date gets a circle background of blue. I do not need any of that I just want a simple calendar with absolutely no interaction where I can set the background color of specific dates.
After reading over the API I saw that you can set a specific Date, Holiday or SensitiveRange like so.
myCalendar.setDate("2011-07-12");
myCalendar.setHolidays("2011-07-13");
myCalendar.setSensitiveRange("2011-07-08","2011-07-22");
These were as close to what I can find to what I need but did not serve the purpose for multiple reasons. So I was thinking if there is either a way that I can set multiple dates on the calendar with a specific background color or if I can just add a class to the
If someone could point me into the right direction I would greatly appreciate it.
Thank you!