Change calendar color days

Hi.



I want to use double calendar on my site, but I have a doubt.



I have a value on a table in my database for each day of the year. In that value is -1 for that day, I show that day in color red on the calendar. If it is 0, i show that day yellow, and green for 1.



What i want is, when the page is charged, recover all this values (array), and draw the calendar with all days with the appropriate values.



Do you know how i can i do this?



Thanks.

Unfortunately current version of dhtmlxcalendar doesn’t provide such functionality.