dhxCalendar Problem

Hello ,



In my dhtmlxgrid , i m using dhxCalendar as one of the columns. I want to set sensitive range for this calendar.

The method for this is calObj.setSensitive(null,new Date()); But my problem is how i will get the calObj object since i m not creating any. So Plz tell me how to do this.


Hello,


You can try to use the following method:


grid.loadXML(“grid.xml”,doAfterLoading)


function doAfterLoading(){


grid._grid_calendarA.setSensitive(null,new Date());


};


The _grid_calendarA property is calendar object.