westor <[EMAIL PROTECTED]> writes:
> at first thank you for quick answers and good support. Great work, I really
> like the new widget.
Thanks.
> 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...
No, specifying that a node is open initially is an indication that you will be
filling in its children right away.
What you probably want to do is either call your event listener directly to
populate the children, or something like this:
// Be sure your event listener is active
tree.addEventListener("treeOpenWhileEmpty", function(e) { ... });
// Add the branch, initially closed.
nodeid = dataModel.addBranch(null, "root", false);
// Get the node associated with the just-added node id.
// (This clearly needs a better interface!)
node = dataModel.getData()[nodeid];
// Cause it to be opened now. This will call the event listener.
tree.toggleOpened(node);
> 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.
I can't reproduce it in IE6. A screenshot won't help if I can't reproduce
it. Why don't you track down the problem and send me a patch. :-)
> 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.
"Think" plenty; "do", not yet. Unfortunately, when I had time to work on that
and requested input on what people wanted, I got no response. Right now, I
don't have time to work on it. I'll keep it on my to-do list, though, and
will also gladly review patches if anyone else wants to work on it.
> Node Type:
> Thank you foor you advise, that was helpful :-)
Cool.
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