PDA

View Full Version : Temporarly disable the drag feature of a panel



thommy
7 Mar 2008, 9:02 AM
Is it (simple) possible to enable/disable the draggable property of panels on runtime?

Thanks,
thommy

Animal
7 Mar 2008, 10:36 AM
myPanel.dd.lock();


and unlock...

thommy
7 Mar 2008, 12:09 PM
Simple and perfect!

Thank you.

davidp
27 May 2008, 3:12 PM
and is it possible to enable/disable the drag and drop property for layers on runtime?

I'm talking about the drag&drop in this tutorial:
http://extjs.com/learn/Tutorial:Advanced_Custom_Drag_and_Drop_Part_1

thanks!
david.