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();
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();
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
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
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
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,
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