Categories | Question details Back To List | ||
TreeGrid Not working - 'eXcell' is undefined I have a working page with the grid (professional lisc). I'm trying to convert to a tree grid. The grid will load, but only the parent rows...the children rows are not showing. I'm getting a JS error: 'eXcell' is undefined The only code change I made was to add the Treegrid JS and to add childred rows. I have used my own XML as well as sample XML provided by DHTMLX...same result. These are the libraries I'm loading and in which order: dhtmlx/dhtmlxGrid/codebase/dhtmlxgrid.css dhtmlx/dhtmlxGrid/codebase/ext/dhtmlxgrid_pgn_bricks.css dhtmlx/dhtmlxTabbar/codebase/dhtmlxtabbar.css dhtmlx/dhtmlxGrid/codebase/dhtmlxcommon.js dhtmlx/dhtmlxGrid/codebase/dhtmlxgrid.js dhtmlx/dhtmlxGrid/codebase/dhtmlxgridcell.js dhtmlx/dhtmlxGrid/codebase/ext/dhtmlxgrid_group.js dhtmlx/dhtmlxGrid/codebase/ext/dhtmlxgrid_pgn.js dhtmlx/dhtmlxGrid/codebase/ext/dhtmlxgrid_fast.js dhtmlx/dhtmlxGrid/codebase/ext/dhtmlxgrid_ssc.js dhtmlx/dhtmlxTreeGrid/codebase/dhtmlxtreegrid.js dhtmlx/dhtmlxTabbar/codebase/dhtmlxcommon.js dhtmlx/dhtmlxTabbar/codebase/dhtmlxtabbar.js Answer posted by dhxSupport on Apr 09, 2009 09:08 Such issue may occur if you have attached treegrid.js before gridcell.js or you are using old version of gridcell.js file. If ussue still occur please send example where we can recreate this directy to the support@dhtmlx.com. Answer posted by sbritton on Apr 09, 2009 09:21 Okay...thanks. The error went away but I'm still not getting the children records showing up. Just the parent record. I don't think it is the XML since even the samples provided by DHTMLX are not showing children rows. I'm using the following sample XML: The top row shows fine...the child row (with the random numbers) does not show. <?xml version="1.0" encoding="utf-8"?><rows> Answer posted by Support on Apr 09, 2009 09:48 You need to define some column as "tree" to inform component that it is a TreeGrid. <column width="50" type="tree" align="left" sort="str">Type</column> |