Derrell Lipman wrote:
> 
> The whole purpose of having bSelected in the data
> model is to allow the user to pre-select certain nodes.
> 

Since I am rewriting the SimpleTreeDataModel for databinding currently, I
wonder: doesn't this also apply for bOpened? Shouldn't a separate index be
kept for the opened state just as for the selected state so that when
cloning the data for databinding, one could very fast collapse the tree
without looping through the entire (possibly huge) tree array?

C.

-- 
View this message in context: 
http://n2.nabble.com/How-to-Clone-Tree-Data-tp4233033p4259529.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to