How to crete a 'combo' in dthmlxgrid?

    <script type="text/javascript"  src="../dhtmlx/dhtmlxcommon.js"></script>
    <script type="text/javascript" src="../dhtmlx/dhtmlxgrid.js"></script>
    <script type="text/javascript" src="../dhtmlx/dhtmlxgridcell.js"></script>
    <script type="text/javascript" src="../dhtmlx/dhtmlxdataprocessor.js"></script>
    <script type="text/javascript" src="../dhtmlx/dhtmlxcombo.js"></script>
    <script type="text/javascript">
        var grid, dp;

        function init() {
            grid = new dhtmlXGridObject("grid_container");
            grid.setImagePath("../dhtmlx/imgs/");
            grid.setHeader("物料名称,物料编码,库存量,使用量,单位,分类,状态,用途,备注");
            grid.setColumnIds("Name,Code,StoredQuantity,UsedQuantity,Unit,Category,Status,Use,Remark");
            grid.setColAlign("center,center,center,center,center,center,center,center,center");
            grid.setColSorting("str,str,int,int,str,str,str,str,str");
            grid.setInitWidths("150,100,100,100,100,100,100,100,*");
            grid.setColTypes("ed,ed,ed,ed,ed,combo,ed,ed,ed");//Here I put a combo, but it doesn't work.
            grid.setSkin("dhx_skyblue");
            grid.init();
            grid.loadXML("../MaterialList/MaterialList.php?etc=" + new Date().getTime());
        }
    </script>

each time after the page loaded ,a alert box will be showed.
Error type: Configuration
Description: Incorrect cell type: combo

You must instead “combo” type change to “co” or “coro” column type . With “co” type you can edit cell and select from options , with “coro” type you can select only from select box .

Please, make sure that you have added dhtmlxgrid_excell_combo.js, dhtmlxcombo.js, dhtmlxcombo.css to your code:

[code]

[/code]

Here is the working example of the functionality:
dhtmlx.com/docs/products/dht … combo.html