Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Mar 22, 2009 23:31
open dhtmlx forum
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.
Answer posted by Alex (support) on Mar 23, 2009 05:57

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.