FrozenDice <[EMAIL PROTECTED]> writes:

> Thanks setOpen worked perfectly.

Ok, it sounded like you wanted to change the default.  setOpen only
effects the node you're creating at the time, whereas the other method
changes the default so you don't need to call setOpen() on each one.

Derrell


> On 6/7/07, Tobias Koller (GERMO GmbH) <[EMAIL PROTECTED]> wrote:
>> 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
>> qooxdoo-devel@lists.sourceforge.net
>> 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
>> qooxdoo-devel@lists.sourceforge.net
>> 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
> qooxdoo-devel@lists.sourceforge.net
> 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
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to