Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by miral on Jun 27, 2008 09:08
open dhtmlx forum
How to use Calendar control

I am trying to use your calendar control, but do you guys have any documentation like where step by step instructions for using these controls in html page is provided.
Answer posted by Support on Jun 28, 2008 04:23
Unfortunately there is no any extra documentation except of guide
    http://dhtmlx.com/docs/products/dhtmlxCalendar/doc/guide.html#calendar_guide

Basically to init component on page you need just next code

mCal = new dhtmlxCalendarObject('dhtmlxCalendar');  //container
mCal.setYearsRange(2000, 2500);
mCal
.draw()
;
http://dhtmlx.com/docs/products/dhtmlxCalendar/samples/initialization/calendar_init.html?un=1214653261000

To init calendar attached to input
    cal1 = new dhtmlxCalendarObject('calInput1');
http://dhtmlx.com/docs/products/dhtmlxCalendar/samples/initialization/calendar_attach_to_input.html?un=1214653331000