0

Drag And Drop Dynamci Tree In MVVM

asked 2014-11-10 04:59:58 +0800

jeevaJR7 gravatar image jeevaJR7
1 2

Hi, I have Created a Dynamic Tree using MVVM.I can Drag and Drop tree.but once I drag and drop that tree .how can I save that tree after i reloading it. which mean 1.Tree loading from database 2.I am dragging and dropping 3.And again I am refreshing that page 4.Tree is changed. But I want that dragged tree even I refresh it.how to make it in zk(MVVM) ??

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-11-16 12:17:13 +0800

Darksu gravatar image Darksu
1991 1 4

Hello jeevaJR7,

Since you have accomplished the first task, now you have to parse your model, save the required elements to the database, and when you want to refresh the page you have to load the model from the database.

At the following url, you can find a good example:

https://gist.github.com/dennischen/2365715

Best Regards,

Darksu


link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2014-11-10 04:59:58 +0800

Seen: 18 times

Last updated: Nov 16 '14

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More