I have a treeGrid with canReorderRecords(true).
This grid uses a FolderDropHandler and, inside, I use TreeNode parent = event.getFolder(); to determine the parent.
Almost everything works fine, only in the following case something is not working well:
If I try to move E to A, event.getFolder() yields ALWAYS the root node, and *NOT* A, even if I drop the record exactly inside A.
I tried enabling setCanDropOnLeaves(true), but I get the same behavior. I am never getting A as the new parent, even though I drop the record exactly into A.
So what to do here?
Using smartgwt 5.1p power 2015-07-22
This grid uses a FolderDropHandler and, inside, I use TreeNode parent = event.getFolder(); to determine the parent.
Almost everything works fine, only in the following case something is not working well:
Code:
-A
-B
-C
-D
-EI tried enabling setCanDropOnLeaves(true), but I get the same behavior. I am never getting A as the new parent, even though I drop the record exactly into A.
So what to do here?
Using smartgwt 5.1p power 2015-07-22