DhtmlxTreeGrid grid.parse

Hi,

I have used grid.parse(gridData, "jsarray"); successfully to insert rows into the grid.
But if i use a treegrid in place of a grid, grid.parse throws an error.
The error occurs in the dhtmlxgrid_srnd.js file.

However, grid.addRow(rowId, rowData) works for the treegrid.

Please help.

throws an error.
The error occurs in the dhtmlxgrid_srnd.js file.

Can you provide text of this error?