Categories | Question details Back To List | ||
Grid problem when populating - this.obj.firstChild is null or not an object I am getting an error message when one of my grids populates and I am not sure what the issue is. The error messaage is "this.obj.firstChild" is null or not an object. grid xml: <?xml version="1.0" ?> <rows> <head> <!-- Changing this structure will require a change in schedSearch.js for retrieving the Search ID, UserId, Iteration --> <column type="ro" width="75" sort="int" align="center">Row #</column> <column type="ro" width="75" sort="int" align="center">Search ID</column> <column type="ro" width="0" sort="int" align="center">Scheduled Search ID</column> <column type="ro" width="125" sort="str" align="left">Search Name</column> <column type="ro" width="75" sort="int" align="center">User ID</column> <column type="ro" width="75" sort="int" align="center">Iteration</column> <column type="ro" width="50" sort="int" align="center">Hits</column> <column type="ro" width="200" sort="str" id="last">Run Time</column> <beforeInit> <call command="setSkin"> <param>modern</param> </call> <call command="enableMultiselect"> <param>false</param> </call> <call command="setImagePath"> <param>js/grid/imgs/</param> </call> </beforeInit> </head> </rows> Data xml: <?xml version="1.0" encoding="UTF-8"?> <rows> <row id="1"> <cell>1</cell> <cell>81</cell> <cell>121</cell> <cell>Presidential Search</cell> <cell>12</cell> <cell>1</cell> <cell>100</cell> <cell>02/04/2009 11:48</cell> </row> <row id="2"> <cell>2</cell> <cell>81</cell> <cell>121</cell> <cell>Presidential Search</cell> <cell>12</cell> <cell>2</cell> <cell>100</cell> <cell>02/04/2009 12:48</cell> </row> <row id="3"> <cell>3</cell> <cell>81</cell> <cell>121</cell> <cell>Presidential Search</cell> <cell>12</cell> <cell>3</cell> <cell>100</cell> <cell>02/04/2009 13:48</cell> </row> <row id="4"> <cell>4</cell> <cell>81</cell> <cell>121</cell> <cell>Presidential Search</cell> <cell>12</cell> <cell>4</cell> <cell>100</cell> <cell>02/04/2009 14:51</cell> </row> </rows> Answer posted by Support on Feb 05, 2009 08:12 Be sure that configuration XML is really loaded before data one, because the error, which you have described, appears when data loaded in grid which wasn't configured. ( the xml is correct and loads correctly in local samples ) |