Hi,
We're using smartGWT-3.0 pro, with GWT 2.3.0.
While trying to implement a TreeGrid that would have quiz tests as folders and quiz questions as leafs.
Here are the problem we encounter:
Take a TreeGrid that has set setCanReparentNodes(true) and setCanReorderRecords(true).
Try to drag a leaf node and drop it on the last position in a folder (after last item in that folder).
Expected behavior: the leaf node will be added _AFTER_ last item in folder.
Actual behavior: the leaf node is added _BEFORE_ last item in folder.
Of course it is possible to drag the last node and put it before the "node before last" (that is the node we wanted to be on the last position) and achieve so the desired action, but still this can be considered a BUG. Isn't it?
Another way to achieve desired result would be to call reloadChildren on affected folder node, but that will cause a very annoying flickering effect.
Is this a known bug? Or perhaps it's something that we're doing wrong?
We're using smartGWT-3.0 pro, with GWT 2.3.0.
While trying to implement a TreeGrid that would have quiz tests as folders and quiz questions as leafs.
Here are the problem we encounter:
Take a TreeGrid that has set setCanReparentNodes(true) and setCanReorderRecords(true).
Try to drag a leaf node and drop it on the last position in a folder (after last item in that folder).
Expected behavior: the leaf node will be added _AFTER_ last item in folder.
Actual behavior: the leaf node is added _BEFORE_ last item in folder.
Of course it is possible to drag the last node and put it before the "node before last" (that is the node we wanted to be on the last position) and achieve so the desired action, but still this can be considered a BUG. Isn't it?
Another way to achieve desired result would be to call reloadChildren on affected folder node, but that will cause a very annoying flickering effect.
Is this a known bug? Or perhaps it's something that we're doing wrong?
Comment