[Users] TR: Enabling drag n drop in the Ext.tree.TreePanel (enableDD)

Valiquette,Francois [Montreal] Francois.Valiquette at ec.gc.ca
Tue Feb 5 20:02:37 CET 2013


Hello, 

I am the original poster. I succeeded easily to change the drawing order of the layer with the drag and drop feature using a GeoExt.tree.LayerContainer. But I still cannot change the drawing order when I am manually creating my nodes (GeoExt.tree.LayerNode). By this, I mean, I can drag and drop but nothing happens.

I will try to play a little bit more with my code....

Thank you

 

 

De : users-bounces at geoext.org [mailto:users-bounces at geoext.org] De la part de Valiquette,Francois [Montreal]
Envoyé : 5 février 2013 12:31
À : users at geoext.org
Objet : [Users] Enabling drag n drop in the Ext.tree.TreePanel (enableDD)

 

Hello,

As written in http://www.geoext.org/tutorials/layertree-tutorial.html?highlight=drag, if I set enableDD  to true of my TreePanel, it will enable layers reordering. Does it mean that the user can reorder layers in the TreePanel or does it mean that the user can reorder the display order in the the MapPanel to make a specific layer appear on top of another one?

 

I tried to enableDD but when I drag and drop, the layer drawing order does not change. So I just want to if I missed something J

Thank you 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20130205/1bc508ac/attachment.htm 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ATT480506.txt
Url: http://www.geoext.org/pipermail/users/attachments/20130205/1bc508ac/attachment.txt 


More information about the Users mailing list