-
Sencha User
-
Sencha User
oh dirt - I only see just now that I accidently put it in Ext 3.0 - would a mod be so nice to move it to 2.0 (we actually have 2.2.1) please?
-
Sencha User
I now manually stretched the div by adding a 1px-inner-div at position 10000x1000 and converted that to Ext: http://blog.davglass.com/files/yui/dd15/ This works, but is just a workaround, so if someone would know a proper way (so I still could have an "expanding on demand" scrolling div instead of one with a fixed size), I would appreciate it
-
Ext User
I have the same problem , just try to add on top head of your script :
Ext.override(Ext.dd.DragDrop, {
handleMouseDown: function(e, oDD){
if (this.primaryButtonOnly && e.button != 0) {
return;
}
if (this.isLocked()) {
return;
}
this.DDM.refreshCache(this.groups);
var pt = new Ext.lib.Point(Ext.lib.Event.getPageX(e), Ext.lib.Event.getPageY(e));
if (1==0 ) {
} else {
if (this.clickValidator(e)) {
// set the initial element position
this.setStartPosition();
this.b4MouseDown(e);
this.onMouseDown(e);
this.DDM.handleMouseDown(e, this);
this.DDM.stopEvent(e);
} else {
}
}
},
});
-
Sencha User
Hi devsoufiane
This doesn't seem to change anything for me, sadly, I still get invalid drops for everything inside the div but outside the view.
I'm actually not quite sure what your code is supposed to do...
Thanks anyway. I think I continue to use the other solution.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules