How to set the date range in dhtmlx calender

How to set the date range in dhtmlx calender



i want to select the date between today and the last of this month except this no date is selected




You can use the setSensitive method


calender.setSensitive((new Date), null);