-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Dear colleagues,
I have a tree that displays various columns. Now I added a dialog that allows to configure the set of columns and their order. I would now like to update the tree view. Can anyone tell me what would be the best way to achieve this?
The renderer knows the list of columns to be displayed. I only need to know how I can efficiently trigger rerendering the contents of the tree, of course without collapsing nodes.
Greetings and thanks beforehand,
David
According to the javadoc: http://www.zkoss.org/javadoc/latest/zk/org/zkoss/zul/Tree.html#setModel(org.zkoss.zul.TreeModel)
Reset the model is a efficient way.
Asked: 2011-12-06 10:17:35 +0800
Seen: 117 times
Last updated: Dec 07 '11