Hi Derrell,

Derrell Lipman wrote:
> 
> The only piece of information that you're missing is that there is a
> "virtual root" node, node id 0, that's there automatically.
> 

Yes, I missed that, and fortunatelly qooxdoo does this automatically.
Because originally I thought I would need to create special root branch, to
have the access to parent of branchces, when I want to reorder them. That's
great news for me:) And thanks a lot for the code snippet, I didn't know
about qx.dev.Debug class!


Derrell Lipman wrote:
> 
> Secondly, if you include the qx.ui.treevirtual.MFamily, then you have
> access
> to the familyGetFirstChild(), familyGetNextSibling(), etc. methods which
> is
> a nice way to organize some forms of code.
> 

I did include both MFamily a MNode, and I looked into the source, but there
is one thing that makes me a little bit confused. Both of them are using
getTableModel() for searching/accessing the tree nodes, but from my readings
I expected getDataModel() to be used. I see they both can use getData()
method, and I still don't really understand the difference between them. But
I guess it will get clearer when I make my first application in qooxdoo;)

Thank you again, Luke
-- 
View this message in context: 
http://old.nabble.com/How-many-branches-are-inside-virtual-tree--tp26771063p26774558.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to