gridobj.deleteChildItems breaks with Uncaught TypeError:



breaks with Uncaught TypeError: Cannot read property ‘get’ of undefined

I know the rowid is valid because just prior to the statement, I execute
var rowindex = gridobj.getRowIndex(rowid);
alert("ln992 rowindex: "+rowindex);

The index of the row is correctly returned.

Ideas of what to check?
Using dhtmlxtreegrid.js V.2.5 build 91111

thank you,
Paxton Scott

Problem solved.

the rows in the grid did not have children.