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

[feature request] draggable layers in treePanel #226

Open
albell opened this issue Dec 24, 2013 · 0 comments
Open

[feature request] draggable layers in treePanel #226

albell opened this issue Dec 24, 2013 · 0 comments

Comments

@albell
Copy link

albell commented Dec 24, 2013

Frank shared some code to address this on the mailing list:

http://www.geoext.org/pipermail/users/2013-February/003225.html

but it appears to reinvent the wheel, and I haven't figured out how to adapt it yet for my project. This is such a basic feature requirement that it ideally it would be supported out-of-the-box, so I thought I'd inquire.

While I'm making up my christmas list, let me also wish for some config options to tame some of the complexities involved:

allowDragOfParent: boolean // default false?

Useful for keeping the "base" layer group always below below an "overlay" group, for example.

allowDragOntoNewParent: boolean // default false?

This would prevent, for example, a "base" layer from being dragged into an "overlay" layer, messing up the default nesting.

onDragError: function()

A callback called when the user does a disallowed drag.

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