-
FEATURED COMPONENTS
First time here? Check out the FAQ!
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) ??
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
Asked: 2014-11-10 04:59:58 +0800
Seen: 18 times
Last updated: Nov 16 '14
Making Dynamic tree in ZK 3.0.6
Large Tree with dynamic columns
Tree width lost after changing col width on maximized panel
MVVM tree example to show add/insert/delete/move/drag?
Error writing 'checked' on type org.zkoss.zul.Checkbox [closed]
Problem with changing MVVM tree model
zk framework: how to load zul pages from WEB-INF under directory zul