[qooxdoo-devel] qx.ui.table.Table drag and drop

2010-03-11 Thread SCHÄFER , Michael
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();

[qooxdoo-devel] qx.ui.table.Table drag and drop

2010-03-11 Thread SCHÄFER , Michael
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();

Re: [qooxdoo-devel] qx.ui.table.Table drag and drop

2006-12-06 Thread CSBrown
Thank you for the example, it works great. I was not checking that the pointer was over a row and so the drag was also starting when the pointer was over the header. This caused the column reorder and the drag to operate concurrently. Thanks, Chris. Til Schneider wrote: > >>Adding a dragstart

Re: [qooxdoo-devel] qx.ui.table.Table drag and drop

2006-12-06 Thread Til Schneider
CSBrown wrote: > I am trying to implement drag and drop from the table to another component. > So far, I have only been able to attach an event to the table but that > interferes with resizing and reordering the columns. I don't understand this. Drag and drop happens in the table body. Column res

Re: [qooxdoo-devel] qx.ui.table.Table drag and drop

2006-12-06 Thread CSBrown
I am trying to implement drag and drop from the table to another component. So far, I have only been able to attach an event to the table but that interferes with resizing and reordering the columns. I am trying to intercept the dragstart and cancel it if it originates from the table header. Also

Re: [qooxdoo-devel] qx.ui.table.Table drag and drop

2006-09-21 Thread dperez
Hi all, One possible challenge I see is that the table rows aren't real widgets. dperez wrote: > > Hi, > > Has anyone tried successfully drag and drop in qx.ui.table.Table, in order > to change the sort order of the rows? > Is it feasible? > > I haven't still tried drag and drop in qooxdoo,

[qooxdoo-devel] qx.ui.table.Table drag and drop

2006-09-21 Thread dperez
Hi, Has anyone tried successfully drag and drop in qx.ui.table.Table, in order to change the sort order of the rows? Is it feasible? I haven't still tried drag and drop in qooxdoo, but available samples look like very basic. Thanks in advance for any tip. Regards, David -- View this message i