View Full Version : Window Draggable set to false

Aug 31, 2020, 8:15 AM
Hi Sir,

Im planning to set window should not draggable for some cases and here is example

Ext.WindowMgr.each(function (w) {
if (w.xtype == "window") {
if (w.isVisible() && !w.maximized) {

Server side code is working as expected but there was some issues with client side.
I'm expecting window should not drag in desktop control.

Thank you,

Sep 01, 2020, 2:12 AM
Waiting for your reply

Sep 01, 2020, 12:27 PM
Please try w.setDraggable(false);.

Hope this helps.

Sep 01, 2020, 1:18 PM
Thanks but setDraggable(false) is undefined and it seems no method available setDraggable.

Here is the screenshot for your reference.

Thank you,

Sep 08, 2020, 10:30 PM
Hello Vamsi!

I believe what you want is to w.dd.disable().

Notice the cursor when hovering the titlebar will still suggest draggin, so you may want to dig further down to remove the CSS cursor-move icon by removing the .x-header-draggable CSS class from the window header bar's innerCt (and add back when you call w.dd.enable().

You may also want to check whether w.dd is defined before trying to disable/enable it. DD stands for drag drop.

Hope this helps!