PDA

View Full Version : Access client-side added tree nodes in DirectMethod?



wexman
Mar 28, 2011, 7:23 AM
Hi,

I have a treepanel on my page which the user populates with nodes via drag and drop from several grids. Once finished, I need to postback the populated nodes to the server to be able to save the collection to my database. However, I noticed that the newly added nodes aren't available during a DirectMethod call (the nodes collection of the root node is empty). Am I missing something simple, or isn't this supposed to work?

Any help appreciated!

Vladimir
Mar 28, 2011, 8:23 AM
Hi,

You have to submit nodes
http://examples1.ext.net/#/TreePanel/Basic/Submit/

wexman
Mar 28, 2011, 9:20 AM
Hi Vladimir,

thanks, that's exactly what I need!

Solved.