Hi,
1. I'm sorry, I'm relative new to qooxdoo and I can't follow you...
Assuming I have a tree with one selected node, and I want to have the type
of the node:
tree.getSelectedNodes()[0].getType() is not a valid method...
2. yes, I tryed, but if I use
dataModel.addBranch(null, "root", true);
the root node is open, but the event treeOpenWhileEmpty is not fired. The
node stays empty.
At last the question: Did you think about to implement D&D nodes in the tree
widget, like discussed before?
dperez wrote:
>
> Hi,
>
> 1.A simple examination to the source code reveals that
> nodo.type can be qx.ui.treevirtual.SimpleTreeDataModel.Type.BRANCH or
> qx.ui.treevirtual.SimpleTreeDataModel.Type.LEAF
>
> 2.Add a root node in this way:
> dataModel.addBranch(null, "root", true)
>
> 3.Suppose a bug. With FF, images are repainted (like if they were
> reloaded) when expanding a branch.
>
>
> westor wrote:
>>
>> I successful implemnted the treevirtual class. But I have some more
>> questions:
>>
>> 1. How can I check if an existing node is a tree or a leaf?
>>
>> 2. At the start of my Application, the root node should be open and
>> filled wth elements. With the "old" treefullcontrol class I did this in
>> this manner:
>>
>> var t = new qx.ui.treefullcontrol.Tree(trs);
>> t.addEventListener("appear", function(e) {
>> var parent = this.getFirstVisibleChildOfFolder ();
>> this.setSelectedElement(parent);
>> parent.open(true);
>> });
>> t.addEventListener("treeOpenWhileEmpty", function(e) {
>> // add elements...
>> }
>>
>> How can I do this with the treevirtual class?
>>
>> 3. Display of Icons in Internet Explorer is a little bit strangely. Looks
>> like they having dotted frames shortly after mouse over. Is this a bug or
>> a feature? ;-)
>>
>> Torsten
>>
>
>
--
View this message in context:
http://www.nabble.com/treevirtual-questions-tf3433922.html#a9577266
Sent from the qooxdoo-devel mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel