setSensitive for dhtmlxDblCalendarObject

hello!



We are testing whether the dhtmlxDblCalendar feeds to our requirements. We saw that



mCal = new dhtmlxCalendarObject(‘dhtmlxCalendar’, true, {isMonthEditable: true, isYearEditable: true});

        mCal.setYearsRange(2005, 2009);        

        mCal.setDate(new Date())

        mCal.setSensitive(new Date(“2008/03/3”),new Date(“2008/03/26”));

        mCal.draw();            

is working fine. The problem we have concernes dhtmlxDblCalendar. How works the setSensitive there?







According the documentation we called a function which also works fine. But what should be in that function? Can you give as an expamle code?



Thx

Sorry for inconvenience, this is incorrect text in documentation, actually it doesn’t receive any parameter and works in next way

right calendar set to dates range lesser than current right date
left calendar set to dates range bigger that current left date

Basically you can access right and left calendars as
mCal.leftCalendar
mCal.rightCalendar
and use single calendar API against them