Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solution for multi-level lists? #81

Open
sasiacob opened this issue Sep 20, 2022 · 4 comments
Open

Solution for multi-level lists? #81

sasiacob opened this issue Sep 20, 2022 · 4 comments

Comments

@sasiacob
Copy link

Is there a solution for multi-level lists (3 levels nested for example) ?

What I mean is if we can have a list of DragAndDropLists which have DragAndDropListExpansion and their children have others DragAndDropListExpansions.

@m-maks
Copy link

m-maks commented Aug 17, 2023

Do we have any solution for that?

@Gutario
Copy link

Gutario commented Oct 6, 2023

As I understand, it is impossible to do it in the current implementation of the library. Maybe I have not understood it well, but I came to the conclusion that it is easier to write my own implementation. Everything deeper than the second level is blocked by DragAndDropLists, if you use the tools of the library itself. The only implementation that worked for me was to add objects with DragTarget to DragAndDropList. All objects in DragAndDropList I have dates with some functionality, and under them I placed DragTarget, so I got a functional 3rd level. I think my solution is pretty bad and I'm very interested to read other implementations. So if you managed to make a 3+ level I would love to read it.

@basitcodeenv
Copy link

Do we have any solution?

@orakemu
Copy link

orakemu commented Dec 12, 2024

As I understand, it is impossible to do it in the current implementation of the library. Maybe I have not understood it well, but I came to the conclusion that it is easier to write my own implementation. Everything deeper than the second level is blocked by DragAndDropLists, if you use the tools of the library itself. The only implementation that worked for me was to add objects with DragTarget to DragAndDropList. All objects in DragAndDropList I have dates with some functionality, and under them I placed DragTarget, so I got a functional 3rd level. I think my solution is pretty bad and I'm very interested to read other implementations. So if you managed to make a 3+ level I would love to read it.

@Gutario Could you share your implementation code somewhere? I would love to try out a third level implementation. Because I have section with items (level 2 and 3) within days (level 1) and I would like to move sections or items between days as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants