Hello,
When I set a column type to ‘co’ or ‘coro’, I encounter the following error:
Error type: LoadXML
Description: Incorrect XML
The grid is initialized through JS only, I don’t use any XML.
Relevant code snippets:
<link rel="stylesheet" type="text/css" href="/dhtmlx/dhtmlxGrid/codebase/dhtmlxgrid.css">
<link rel="stylesheet" type="text/css" href="/dhtmlx/dhtmlxCalendar/codebase/dhtmlxcalendar.css">
<script src="/dhtmlx/dhtmlxGrid/codebase/dhtmlxcommon.js"></script>
<script src="/dhtmlx/dhtmlxGrid/codebase/dhtmlxgrid.js"></script>
<script src="/dhtmlx/dhtmlxGrid/codebase/dhtmlxgridcell.js"></script>
<script src="/dhtmlx/dhtmlxGrid/codebase/ext/dhtmlxgrid_splt.js"></script>
<script src="/dhtmlx/dhtmlxCalendar/codebase/dhtmlxcalendar.js"></script>
<script src="/dhtmlx/dhtmlxGrid/codebase/excells/dhtmlxgrid_excell_dhxcalendar.js"></script>
<link rel="stylesheet" type="text/css" href="/dhtmlx/dhtmlxCalendar/codebase/skins/dhtmlxcalendar_yahoolike.css">
...
var dhtmlx_description_grid_data = [["","","","","","",""]];
var dhtmlx_description_grid = new dhtmlXGridObject('dhtmlx_description_grid');
dhtmlx_description_grid.setImagePath("/dhtmlx/dhtmlxGrid/codebase/imgs/");
dhtmlx_description_grid.setHeader("Date of Visit,Date Built,Type of Home,Window Qty,Patio Door Qty, Brand, Window Model");
dhtmlx_description_grid.setColAlign("left,left,left,left,left,left,left");
dhtmlx_description_grid.enableAutoWidth(true);
dhtmlx_description_grid.setSkin("light");
dhtmlx_description_grid.setColTypes("dhxCalendar,ed,co,ed,ed,ed,ed"); // << ERROR thrown here
dhtmlx_description_grid.setEditable(true);
dhtmlx_description_grid.enableLightMouseNavigation(true);
dhtmlx_description_grid.enableRowsHover(true, "hover");
dhtmlx_description_grid.init();
dhtmlx_description_grid.parse(dhtmlx_description_grid_data,"jsarray");
Any help would be appreciated.
Thanks!