Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

TreeGrid Drag&Drop: Get position?

$
0
0
We have a TreeGrid with Drag&Drop enabled, as you can see in the attached image.

How can I find out the exact position (line or next and/or previous record) of the dropped record in the DropHandler or DropCompleteHandler?

E.g. as you can see in the example in the att. image: I drop the record with id=1.1 between the records with ids 1.3 and 1.4. How can I find out this position in the handlers?

I tried getDropPosition(), but the result is always 1.

Thanks

Attached Images
File Type: png tree.png (9.0 KB)

Viewing all articles
Browse latest Browse all 4756

Trending Articles