How to drag and drop documentTree macro?

Hi,Everybody is good

I want to use documentTree macro to drag p1 under p2. What’s a good way to do that?

As shown in the figure below

image image

Thanks.

Dragging is easy. See the readOnly parameter of the documentTree macro https://extensions.xwiki.org/xwiki/bin/view/Extension/Document+Tree+Macro . Preserving the order after you reload the page is another matter: it’s not implemented yet.

Thank you for your reply.

I want to implement the save order after reloading the page.

I’m also working on how to do that. :grin:

1 Like