Hello,
I have a grid control in which a column type is defined as dhxCalendarA:
mygrid.setColTypes("dhxCalendarA");
When a cell in that column is clicked, I would like the calendar that pops up to appear with a sensitive range of today forward. I tried this:
mygrid.attachEvent("onEditCell",function(stage,rId,cInd){
if(stage==1 && cInd==0){
var currentdate = new Date();
var mycalendar = mygrid.cellById(rId, 0);
mycalendar.setSensitiveRange(currentdate, null);
}
});
… but the setSensitiveRange method doesn’t appear to work. Please let me know how this might be done correctly. Thank you.