EasyUI Forum

General Category => Bug Report => Topic started by: chandrasigniant on January 10, 2017, 01:28:39 PM



Title: Deleted node messes up the row ids in treegrid
Post by: chandrasigniant on January 10, 2017, 01:28:39 PM
We have a scenario where we delete few rows/nodes and then create a new node.
The treegrid('beginEdit') function ends up editing the existing row/node instead of the new one being created.

This happens only when we delete a node. Otherwise creating a new node works great using append followed by beginEdit functions in treegrid.

It looks like the finder.getTr function in datagrid component is still using the old html table when it finds the target node for editing.


Can you please fix it?


Title: Re: Deleted node messes up the row ids in treegrid
Post by: jarry on January 10, 2017, 04:25:59 PM
Please show an example to demonstrate your issue.


Title: Re: Deleted node messes up the row ids in treegrid
Post by: chandrasigniant on January 11, 2017, 03:48:52 PM
Do you have any jsfiddle examples I can edit and show you?


Title: Re: Deleted node messes up the row ids in treegrid
Post by: jarry on January 11, 2017, 06:36:27 PM
Here is the example http://code.reloado.com/izupuj/edit#preview


Title: Re: Deleted node messes up the row ids in treegrid
Post by: chandrasigniant on January 13, 2017, 12:24:58 PM
Thanks for your response. We solved it by generating a unique id for the node being appended. thanks