Hi,
I don't succeed in limiting the drag, the following code works fine in Ex.NET 1
in ext.net 2.x the this.x and this.y don't exist anymore.Code:var onDragF = function (e) {
var pel = this.proxy.getEl();
var xPos = pel.getLeft(true);
var yPos = pel.getTop(true);
if (xPos >= 205 && xPos < 1000)
this.x = xPos;
if (yPos >= 36 && yPos < 800)
this.y = yPos;
}
Please help me.
Thank you.
Jimmy