How to show the dhxcalendar dates up to sysdate?

can u please explain how to display dhxcalendar date calendar in the grid up to current date?
In my requirement, need to be disable all dates after current date in dhxcalendar.Is there any calendar type avaliable?

pls help…

Thanks in advance…

You may try to use the dhxCalendar exCell type.
Here you can find a working example of the calendar in the dhtmlxgrid: … _grid.html

Please, try to use the following solution to block the days after current date:

mygrid.attachEvent("onCalendarShow", function(myCal,rId,colInd){ var from=new Date(); myCal.setInsensitiveRange(from, null); });