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


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.


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"?>
 
  <column width=“50”  type=“ro” align=“left” sort=“str”>Type
  <column width=“55”  type=“ro” align=“left” sort=“str”>Date
  Name
  Address
  Prop Owner
  <column width=“75”  type=“ro” align=“left” sort=“str”>Phone
  <column width=“54”  type=“ro” align=“left” sort=“str”>Status
  <column width=“64”  type=“ro” align=“left” sort=“str”>Score
  <column width=“*”   type=“ro” align=“left” sort=“str”>Actions
  <column width=“0”   type=“ro” align=“left” sort=“str”>ZIP
 
  
  relative
  2009-04-07
  xxxxxxxxxxx, xxxxxxxxx
  <![CDATA[
        
    XXXX  FRUITRIDGE RDApt# 4C
XXXXX, CA XXXX

   ]]>
  

  
         <![CDATA[
    xxxxxxx   ]]>
  
  active
  <![CDATA[
   

500

   Provided by skiptracer   ]]>
  xxxxxxxxx
   95822
    
     1939755474
     1428026160
     2038379555
     1893243184
     962269911
     1091226808
     658159213
     225397050
     1056565167
     468966765
    
 


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