Hi,

I built up a window tiled by a vertical splitpane ("1*","1*").
On each pane I place a table (width an height "100%"). The two tables
bases on the same class and differs only on the row data.

So I tried to implement drag and drop for this tables. This should work
in both directions.

I am starting with drag and drop on the table.

  this.table.setDropDataTypes(["test.dragdrop"]);
  this.table.addEventListener("dragstart", this.handleDrag, this);
  this.table.addEventListener("dragdrop", this.handleDrop, this);

That works, but the drag also starts on header and scroller.
So I tried to implement dragstart on the tablepane and dragstop on the
table.

  var tablepanescroller = this.table.getPaneScroller(0);
  var tablepane =  tablepanescroller.getTablePane();
  tablepane.addEventListener("dragstart", this.handleDrag, this);

  this.table.setDropDataTypes(["test.dragdrop"]);
  this.table.addEventListener("dragdrop", this.handleDrop, this);

This looks good, but the problem is that I can't drag from a selected
entry. The dragstart event doesn't appear in this case (pane).

Has anyone solved such behavior?


Thanks Ulrich

-- 
Ulrich Möllmann | TIS Technische Informationssysteme GmbH |
Softwareentwicklung
Barloer Weg 188-190 | D-46397 Bocholt
Telefon: +49 2871 2722-0 | Telefax.: +49 2871 2722-99
mailto:[EMAIL PROTECTED] | http://www.tis-gmbh.de/
Geschäftsführer Josef Bielefeld | Sitz der Gesellschaft: Bocholt
Registergericht: Amtsgericht Coesfeld, HRB 8267



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to