This is my xml for the grid:
<rows>
<row>
<cell>101</cell>
<cell>some name</cell>
<cell>917</cell>
</row>
</rows>
myGrid.attachHeader(data.filters);
if (data.widths != undefined) myGrid.setInitWidths(data.widths);
myGrid.setColTypes(data.types);
myGrid.init();
myGrid.loadXMLString(data.data, function () { });
myGrid.loadXMLString(data.data, function () { });
appendChild method is not directly related to the xml parsing, and may be caused by some grid misconfiguration, or attaching grid to non-existing html container.
When grid process loadXMLString it will try to render the column structure for first time, which in case of incorrect configuration can lead to the above error.