Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by patricia on Sep 11, 2008 08:08
open dhtmlx forum
compare to date in grid

i have 3 columns ed,calendar,calendar ( ' status','From','To')
i need after choosing a date in 'from' the calendar of 'to' start from the date of 'From'
Answer posted by Support on Sep 11, 2008 08:12
can be done as

mygrid.attachEvent("onEditCell",function(stage,id,ind,value){
   if (stage ==2 && ind ==1)
        mygrid.cells(id,2).setValue(value);
   return true;
});