Categories | Question details Back To List | ||
grid calendar Im attempting to use the calendar control on a drag and drop grid. I downloaded the complete folder for dhtmlx and navigated to the samples. (dxhtml\dhtmlxGrid\samples\cell_types\calendar_grid.html). This sample does not work on my local machine. Can anyone help? I have following script: <head> <link rel="stylesheet" type="text/css" href="../_css/dhtmlxgrid.css"> <link rel="stylesheet" type="text/css" href="../_css/dhtmlxcalendar.css"> <script src="../_js/dhtmlxcommon.js"></script> <script src="../_js/dhtmlxgrid.js"></script> <script src="../_js/dhtmlxgridcell.js"></script> <script src="../_js/dhtmlxgrid_drag.js"></script> <script src="../_js/dhtmlxcalendar.js"></script> <script src="../_js/dhtmlxdataprocessor.js"></script> </head> <script> mygrid1 = new dhtmlXGridObject('gridbox1'); //mygrid1.attachEvent("onRowDblClicked",doOnRowDblClicked); mygrid1.selMultiRows = false; mygrid1.setImagePath("../_images/"); var flds = "Incoming, Priority, Status, Due Date"; mygrid1.setHeader(flds); mygrid1.setInitWidths("220,100,200,100") mygrid1.enableResizing("true"); mygrid1.setColAlign("left,left,left,center") mygrid1.setColTypes("ed,ed,ed,calendar"); mygrid1.setColSorting("str,str,str,date") mygrid1.setMultiLine(false); mygrid1.enableDragAndDrop(true); mygrid1.setEditable(false); mygrid1.init(); mygrid1.enableAlterCss("even","uneven"); mygrid1.loadXML("grid1.xml"); mygrid1.enableAlterCss("even","uneven"); mygrid1.loadXML("grid1.xml"); </script> Answer posted by Support on May 30, 2008 10:39 |