This question is locked. New answers and comments are not allowed.
good day,
how can i insert Item( treenode ) in the middle of tree using jquery
example of tree
Level 0
- level 1.1
- level 1.2
-level 2.1
-level 2.2
- level 1.3
- level 1.4
-level 2.3
how can i insert it like this
Level 0
- level 1.1
- level 1.2
-level 2.1
-level 2.1.1 <----------------inserted node
-level 2.2
- level 1.3
- level 1.4
-level 2.3
and also how can i get the value of the selected item
it seems the solution posted in the thread "Getting the value of Node in Treeview"
function onSelect(e) {
$(e.item).closest('.t-item').find(':input[name*="Value"]').val();
}
$(e.item).closest('.t-item').find(':input[name*="Value"]').val();
}
is not working.
Thanks in advance and GOD BLESS