I’m attempting to find out out to integrate the xCombo into a cell using setCellExcellType
When I call this line:
grdItems.setCellExcellType(“1”,“1”,“combo”);
I get this error: “Error ‘undefined’ is null or not an object”
I looked at a collection of pages including this one and it’s related pages:
dhtmlx.com/docs/products/dht … ndex.shtml
We purchased the Grid and Combo, and I have double checked that the files are the current pro versions.
Thanks again,
James
The code is as follows:
grdItems = new dhtmlXGridObject(‘grdItems_Container’);
grdItems.setHeader(",");
grdItems.setNoHeader(true);
grdItems.setImagePath(“images/grid_images/”);
grdItems.setInitWidths(“80,160”);
grdItems.setColAlign(“left,left”);
grdItems.init();
grdItems.addRow(“1”, “Side Dish 1,”);
grdItems.addRow(“2”, “Side Dish 2,”);
//grdItems.setCellExcellType(“1”,“1”,“combo”); // <- error here.
grdItems.setCellExcellType(“1”,“1”,“coro”);
grdItems.setCellExcellType(“2”,“1”,“coro”);
The combo excell requires additional library - dhtmlxgrid_excell_combo.js (only in PRO edition). Please, check that dhtmlxcombo.js is also included.