I’ve spent a lot of time trying to figure out how to use column type CO in a grid with no success. Can someone point me to an example that shows I initialize the possible values of the pulldown - thank you.
<link rel="stylesheet" type="text/css" href="../api/dhtmlxGrid/codebase/dhtmlxgrid.css">
<link rel="stylesheet" type="text/css" href="../api/dhtmlxGrid/codebase/skins/dhtmlxgrid_dhx_skyblue.css">
<script src="../api/dhtmlxLayout/codebase/dhtmlxcommon.js" type="text/javascript"></script>
<script src="../api/dhtmlxGrid/codebase/dhtmlxgrid.js"></script>
<script src="../api/dhtmlxGrid/codebase/dhtmlxgridcell.js"></script>
<script src="../api/dhtmlxDataProcessor/codebase/dhtmlxdataprocessor.js"></script>
<div id="gridbox" style="width:600px;height:270px;overflow:hidden"></div>
<script>
//init grid and set its parameters (this part as always);
mygrid = new dhtmlXGridObject('gridbox');
mygrid.setImagePath("../../codebase/imgs/");
mygrid.setHeader("USOC,Description,Vendor,Priority");
mygrid.setInitWidths("50,150,120,80");
mygrid.setColAlign("right,left,left,left");
mygrid.setColTypes("ed,txt,co,txt");
mygrid.setSkin("dhx_skyblue");
mygrid.setColSorting("int,str,str,str");
mygrid.init();
mygrid.loadXML("v_get.php");
myDataProcessor = new dataProcessor("update.php");
myDataProcessor.init(mygrid);
</script>