I’m stuck on a problem with Tree and Grid d-n-d interaction. I’m trying to attach an Event Handler with onDrag event to deny the drag and drop standard behaviour and set the ItemText of the dragged source node into the cell of the preferred row. I can’t get it working, when i attach this Event to the tree. It shouldn’t be that complex i know, but i’m really stuck.
I bought the professional version of both grid and tree. Is there a trick with onDragIn/Out? Could you give me an example for this?
Attaching onDrag to the Grid,
informing DataProcessor for a new updated row, because it’s not fired automatically,
selecting the rowid of the row in which a cell value has changed,
returning false,
onXLE event on the target grid will then select the “previous selected row” whichs id is saved by an onSelect Event. Will only work when dp.setUpdateMode is set to “row”.
One more problem is to restrict dragging, as both grids are d-n-d enabled, it should only allow dragging from tree to grid and deny dragging from grid to grid and grid to tree.