Groups
Groups
Sign in
Groups
Groups
Discuss jquery.dynatree.js
Conversations
About
Send feedback
Help
dynatree("destroy") doesn't work?
2,370 views
Skip to first unread message
Zoro
unread,
Apr 23, 2012, 6:11:12 AM
4/23/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Discuss jquery.dynatree.js
I try destroy dynatree using $(".tree").dynatree("destroy"); but this
don't work for me.
I used version 1.2.0 and 1.2.1_rc3.
According to ui.widget, each widget has a destroy method. But i don't
find destroy method in the source code.
Zoro
unread,
Apr 23, 2012, 7:12:07 AM
4/23/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Discuss jquery.dynatree.js
I apologize for the hasty conclusion. Destroy work, just don't remove
DOM tree. So i wrote:
$(".tree").dynatree("destroy");
$('.tree").empty();
After this you can reinitialize dynatree.
Thanks.
mar10
unread,
Apr 24, 2012, 1:41:27 AM
4/24/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dyna...@googlegroups.com
thanks, I added an issue for this:
http://code.google.com/p/dynatree/issues/detail?id=306
sriniva...@gmail.com
unread,
Jan 25, 2018, 7:37:51 AM
1/25/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Discuss jquery.dynatree.js
This code working for me. Thank you.
Reply all
Reply to author
Forward
0 new messages