Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Geoff on May 01, 2009 07:44
open dhtmlx forum
Creating calendar with no date selected

Is it possible to create a dhtmlxcalendar with no date selected (highlighted)?
Answer posted by Alex (support) on May 04, 2009 03:25

Unforunately, there are no public methods to do that.

You can try to use the following approach:

mCal = new dhtmlxCalendarObject(...);
mCal.setDate (new Date(0));
mCal.date.setMonth((new Date()).getMonth());
mCal.date.setFullYear((new Date()).getFullYear());
mCal.draw();