Hi,

you can use this:

var trs = 
qx.ui.treefullcontrol.TreeRowStructure.getInstance().standard("Testnode", 
"icon/16/places/folder.png", "icon/16/places/folder.png");
var te1 = new qx.ui.treefullcontrol.TreeFolder(trs);
        
te1.setOpen(true);
...


Tobias
                                

-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von [EMAIL 
PROTECTED]
Gesendet: Freitag, 8. Juni 2007 05:36
An: qooxdoo Development
Betreff: Re: [qooxdoo-devel] Can I have Treefullcontrol expanded on load?

FrozenDice <[EMAIL PROTECTED]> writes:

> Is it possible to have a TreeFullControl widget load with all it's
> folders and subfolders open?  If so how?

You should be able to modify the init value of TreeFolder using
something like this:

       qx.Class.patch( qx.ui.treefullcontrol.TreeFolder, 
         qx.Mixin.define("sample.patch.TreeFolder",
                         {
                            properties :
                            {
                                    "open" : { refine: true, init: true }
                            }
                         })
       );

Derrell

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to