This content has been marked as final.
Show 3 replies
-
1. Re: Tree node sequence at drag and drop issue
ilya_shaikovsky May 4, 2010 8:59 AM (in response to jsfgeeks)just rebuild the model properly in your drop listener. if you just adding node to some node children list - it would became last and it works as expected.
-
2. Re: Tree node sequence at drag and drop issue
jsfgeeks May 5, 2010 12:25 AM (in response to ilya_shaikovsky)Thanks a lot,
but how would i know at drop time that which 2 leaf nodes i am dropping the leaf node , and rebuilding is quit time consuming suppose i have 2000 records in my database then rebuilding might be very time consuming.
Actaully jquery and flex has finctionality to drop leaf node in between two nodes.
so i thought that richfaces might have that functionality in future version.
Anyways i will try what u have suggested.
-
3. Re: Tree node sequence at drag and drop issue
ilya_shaikovsky May 5, 2010 5:22 AM (in response to jsfgeeks)Actaully jquery and flex has finctionality to drop leaf node in between two nodes.
But if this would be usefull if not synchronized with server data? It would be lost anyway then when you leave a page or start new session.