7 Jan 2013 8:23 AM #1
Unanswered: how to remove newly added leaf from a tree
I need to remove a leaf on a tree when it is dragged onto a node (on failure ajax call)...
How can I remove a new added leaf from a tree node
7 Jan 2013 3:40 PM #2
- Join Date
- Jul 2010
- Houston, Tx
- Vote Rating
When you are trying to delete the mode in the code? Does it exist yet?
More info (or a working test case) would be helpful.
8 Jan 2013 6:00 AM #3
Yes Scott... it does... this is what actually happens... I have two tree panel... when a user drags a leaf from one tree to another... an ajax call is made. When it successfully writes to the database, it opens a success window. now when the ajax call fails, I get the "data not recorded" window, But the leaf is still dropped on the tree, so on my 'fail' ajax call, I want to delete the leaf that was just added to the node.
16 Jan 2013 4:35 PM #4