Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Abhijit on Mar 09, 2009 06:34
open dhtmlx forum
may I change the type of a grid cell to calendar or dhxCalendar or dhxCalendarA type?

I want to change the individual cell type in grid to use a date thro' calendar. I tried using setCellExcellType(), but dint work...

else if ( control_type=="date")
                {
                    grid.setCellExcellType(rowId,cInd+1,"dhxCalendar");
                }


I want to set the date runtime (without using any existing data).
Answer posted by dhxSupport on Mar 09, 2009 06:58

setCellExcellType methos is availible only at PRO version. If you are using PRO version please make sure that you have attached all necessary files:

From dhtmlxCalendar pakage:

<link rel="STYLESHEET" type="text/css" href="../../../dhtmlxCalendar/codebase/dhtmlxcalendar.css">
 
<script src="../../../dhtmlxCalendar/codebase/dhtmlxcalendar.js"></script> 
 From dhtmlxGrid pakage:

<script src="../../codebase/excells/dhtmlxgrid_excell_dhxcalendar.js"></script>