Hi,

I am trying to implment a drop funtion on my table. 
But it doesen`t work. 
Here is a small code snippet from my listener:

var table = new qx.ui.table.Table(tableModel);
table.addListener("drop", function(e){
        var data = e.getData("value");
        var pageX = e.getPageX();
            var pageY = e.getPageY();
            var tableScroller = table.getTablePaneScrollerAtPageX(pageX);
            var row = tableScroller._getRowForPagePos(pageX, pageY);
            var column = tableScroller._getColumnForPageX(pageX);
            tableModel.setValue(row,column, data);
});

I can't get the X and Y position in the drop event. I there an
other way to implement the drop funtction in the table?

Best regards

Michael
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to