Hi Derell,
at first thank you for quick answers and good support. Great work, I really
like the new widget.
Opening root node:
Like I told you in my last post, if I call this:
nodeid = dataModel.addBranch(null, "root", true);
the event listener "treeOpenWhileEmpty" is NOT called, thats my problem...
so the branch is opened but stays empty...
Images in IE:
I've seen this behaviour in IE6, havn't tryed in IE7. It takes some seconds
until it looks like the images are reloading by magic and are displayed
flickering. I can send you a screenshot via email, if you don't know what I
mean.
Drag&Drop again ;-)
Did you think about to implement D&D nodes inside the tree widget in the
near future, like discussed before? I have to know, otherwise I have to find
another solution.
Node Type:
Thank you foor you advise, that was helpful :-)
Torsten
Derrell.Lipman wrote:
>
> westor <[EMAIL PROTECTED]> writes:
>
>> 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?
>
> The documentation for SimpleTreeDataModel is your friend. It defines the
> structure of a node. One of my plans, when I get around to it, is to make
> it
> much easier to access some of the node details via individual function
> calls,
> which will make the class considerably more user friendly. For the time
> being, just reference the node properties.
>
>> 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?
>
> Almost identically. The event data you'll get is the node which was
> opened.
>
> var t = new qx.ui.treevirtual.Tree( [ "My Tree" ] );
> t.addEventListener("treeOpenWhileEmpty",
> function(e)
> {
> var node = e.getData();
> var hierarchy = this.getHierarchy(node.nodeId);
> var path = hierarchy.join("/");
> // call RPC or whatever to populate node's children
> },
> t);
>
>> 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? ;-)
>
> I don't see this in IE6. What version of IE are you using?
>
> Derrell
>
> -------------------------------------------------------------------------
> 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
>
>
--
View this message in context:
http://www.nabble.com/treevirtual-questions-tf3433922.html#a9589878
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