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

List/Tree item dragging #480

Open
EliteMasterEric opened this issue Sep 8, 2022 · 0 comments
Open

List/Tree item dragging #480

EliteMasterEric opened this issue Sep 8, 2022 · 0 comments

Comments

@EliteMasterEric
Copy link
Contributor

I think it makes sense to have some sort of standard "draggable" integration with ListView and TreeView components, where if a flag is enabled, items can be dragged around, ideally with a marker for the new position, and when the user drops, an event is thrown to allow the application to reorder the list of items based on the user's input.

This would be particularly useful if TreeViews could also allow for nodes to be dragged onto other nodes to turn them into children of that node. An example to conceptualize this in particular is like a file explorer, or a "layer" system in a drawing program. In the former, you can drag items into folders to reorganize them, and in the latter, you can reorder items relative to each other to affect the resulting image.

I noticed that drag functionality is available but it seems that integration with lists and tree views is minimal, if it exists at all. If proper integration is already in place, improved documentation (a TreeView that acts like a file explorer would be an excellent and widely applicable demo) would be greatly appreciated.

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

1 participant