EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 21, 2024, 08:24:27 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
Bug Report
>
Deleted node messes up the row ids in treegrid
Pages: [
1
]
« previous
next »
Print
Author
Topic: Deleted node messes up the row ids in treegrid (Read 6861 times)
chandrasigniant
Newbie
Posts: 21
Deleted node messes up the row ids in treegrid
«
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?
Logged
jarry
Administrator
Hero Member
Posts: 2264
Re: Deleted node messes up the row ids in treegrid
«
Reply #1 on:
January 10, 2017, 04:25:59 PM »
Please show an example to demonstrate your issue.
Logged
chandrasigniant
Newbie
Posts: 21
Re: Deleted node messes up the row ids in treegrid
«
Reply #2 on:
January 11, 2017, 03:48:52 PM »
Do you have any jsfiddle examples I can edit and show you?
Logged
jarry
Administrator
Hero Member
Posts: 2264
Re: Deleted node messes up the row ids in treegrid
«
Reply #3 on:
January 11, 2017, 06:36:27 PM »
Here is the example
http://code.reloado.com/izupuj/edit#preview
Logged
chandrasigniant
Newbie
Posts: 21
Re: Deleted node messes up the row ids in treegrid
«
Reply #4 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
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...