Aug 31, 2011, 7:31 PM
[CLOSED] drag and drop in tree panels question
I want to add drag & drop support in a TreePanel. When the user drops a node I have to execute a server action. The drop action needs a server validation and in certain conditions (as determined on the server) the operation might be invalid. Is the rejection of the drop operation (expressed perhaps through parameters) following a server action currently supported? What I am getting at is I want the whole drag & drop operation (which involves the client action of dragging & dropping a node, and the server validation that is fired upon the client drag&drop) to act as one unit, i.e. if the server validation fails the node is not moved to its new parent even though the parent appeared to be a valid drop target initially.
If this behavior is not supported then I will have to resort to some other tricks - probably refresh the tree from the server.
Thanks
If this behavior is not supported then I will have to resort to some other tricks - probably refresh the tree from the server.
Thanks
Last edited by geoffrey.mcgill; Sep 08, 2011 at 6:00 PM.
Reason: [CLOSED]