Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Apex 5 treeview drag and drop or move

mnonoluFeb 9 2017 — edited Feb 16 2017

Hello All,

And especially Tom Petrus and John Snyders :-) I am pretty sure that you can both help me on this subject. But any other advice is welcome.

I am trying to use the Apex 5 treeview with drag and drop feature or at least find out how to move elements up/down left/right and then browse the tree to save changed data through ajax.

After searching in the treeview library, I have tried to change the dragAndDrop option to true (and also draggable).

Typically with $("#my_tree").treeView.dragAndDrop = true;

It does not throw any error but it does not seems to work so I guess it is not that simple...

I have integrated the contextual menu and it is working well (thanks to Tom Petrus) so I have also tried to use the moveNodes function :

$("#my_tree").treeView("moveNodes", $("#my_tree_2"), 1, $("#my_tree_4"));

I am not sure if I am using it the right way, but same issue : no error, no action...

Any idea on how to do this?

Thanks in advance for your help.

P.S. Tom, if you see that thread, I have updated your contextual menu plugin to use generated menu items from pl/sql procedure. I can send it to you if you are interrested.

Regards,

Mno.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 16 2017
Added on Feb 9 2017
6 comments
1,411 views