I reformed the javascript following your example, with a small change, and continue to get the error.
It seems you were suggesting in inline function declaration for the load method callback. I re-arranged the order of the load type and inline function declaration to match the expected order of parameters in the “load” method.
The error remains:
Error: this.obj.firstChild is null
Source File: 192.168.2.98/codebase/dhtmlxgrid.js
Line: 848
ServiceMinder
<script type="text/javascript" src="codebase/dhtmlxcommon.js"></script>
<script type="text/javascript" src="codebase/dhtmlxcommon_debug.js"></script>
<script type="text/javascript" src="codebase/dhtmlxgrid.js"></script>
<script type="text/javascript" src="codebase/dhtmlxgridcell.js"></script>
<script type="text/javascript" src="codebase/ext/dhtmlxgrid_filter.js"></script>
<script type="text/javascript" src="codebase/ext/dhtmlxgrid_json.js"></script>
___ data alert from dhtmlxcommon_debug.js is below:
Not an XML, probably incorrect content type specified ( must be text/xml ), or some text output was started before XML data
Loading: ListData1.a4d
Status: 200
Response: data={rows:[
{id:1,data:[‘6’,‘Elizabeth, Betty’,‘555-8741’,‘104’,‘04/08/08’,‘09/30/09’,‘123-45-7894’,‘11/12/1923’]},
{id:2,data:[‘8’,‘Beckman, Tanya’,’(888) 555-9654’,‘02’,‘12/06/08’,‘00/00/00’,‘121-21-2121’,‘01/02/1934’]},
{id:3,data:[‘9’,‘Sample, Bob’,’(333) 654-6876’,‘002’,‘08/04/09’,‘00/00/00’,’’,‘01/01/1923’]},
{id:4,data:[‘10’,‘Tracker, Thomas’,’(888) 555-4477’,‘118’,‘08/22/08’,‘08/20/09’,‘123-45-7891’,‘08/15/1925’]},
{id:5,data:[‘11’,‘Sanders, Evelyn’,’(828) 555-4747’,‘102’,‘12/01/08’,‘09/09/09’,‘324-57-8220’,‘06/01/1935’]},
{id:6,data:[‘12’,‘Peterson, Peter’,’(333) 234-5678’,‘116’,‘12/01/08’,‘09/09/09’,‘987-65-4321’,‘04/05/1910’]},
{id:7,data:[‘14’,‘Decker, Donald’,‘555-4789’,‘11’,‘01/22/10’,‘00/00/00’,‘325-64-7894’,‘02/01/1928’]},
{id:8,data:[‘15’,‘Billiam, Bill’,’(333) 329-8899’,’’,‘12/19/08’,‘00/00/00’,’’,‘03/22/1923’]},
{id:9,data:[‘16’,‘Billiam, Bill’,’(333) 329-8899’,‘13’,‘09/27/10’,‘00/00/00’,‘123-45-7894’,‘03/22/1923’]},
{id:10,data:[‘17’,‘Moore, Samantha’,’(545) 585-5555’,‘110’,‘12/12/08’,‘12/07/09’,‘35795145’,‘04/08/1917’]}
]};
____ XML grid definition follows
<?xml version="1.0" ?>
Number
Name
Phone
Unit
Admit
Discharge
Social Security
Birth Date