Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by satya on May 23, 2007 23:03
open dhtmlx forum
Delete and then add a child node from/to same parent node gives js error.

We are using dhtmlxgrid object to display a tree structure. After initial display, we are doing operations like add/delete child nodes using addRow() and deleteRow() methods available in the API. Everything works fine except for one scenario.

The scenario is: When I delete a child node and then add a new child node from/to same parent node gives javascript error. After that I can't even expand/collapse the parent node.

I am using below methods to do delete & add:

grid.deleteSelectedItem();

grid.addRow(newChildRowId, rowData, null, parentRowId, 'people.gif', false);


This issue is bugging since long. I would appreciate if you can give me a way to solve this.

Thank You,
Satya
Answer posted on May 24, 2007 17:20
Problem in dhtmlxTreeGrid 1.3 confirmed and fixed, fix will be available as part of next version,
if you need it ASAP - please contact us at dhtmlx@scand.com, and provide your customer number.
Answer posted by Inga (Support) on Nov 28, 2014 23:24

I hope this information will be enough for you. But you also can have a look at php ajax scheduler and jsp editable grid.