Categories | Question details Back To List | ||
xCombo with xGrid using setCellExcellType 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: http://dhtmlx.com/docs/products/kb/index.shtml?cat=kb&q=5197&ssr=yes That didnt help. This page shows a combo the way I want it (with the standard down arrow) in the header, I just want that in a cell. http://www.dhtmlx.com/docs/products/dhtmlxGrid/index.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"); Answer posted by Alex (support) on Apr 23, 2009 06:22 The combo excell requires additional library - dhtmlxgrid_excell_combo.js (only in PRO edition). Please, check that dhtmlxcombo.js is also included. |