"Joe Hudson" <[EMAIL PROTECTED]> writes:

> Ok, I tried that as well yesterday but that doesn't seem to be working in
> alpha-2.  I'll just keep that code for a later version.  Thanks, for the
> help.

Don't forget that whenver you change the data model (possibly a whole sequence
of changes), you then have to tell it to recreate the visible tree by calling
dataModel.setData() with no parameters.

It works fine in alpha-2.

Derrell

> Joe
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of dperez
> Sent: Thursday, April 19, 2007 6:11 AM
> To: [email protected]
> Subject: Re: [qooxdoo-devel] How can I change the label of a TreeVirtual
> branch?
>
>
> Change node.label.
>
> treeModel.getData()[myTreeNodeId].label = 'new label';
>
> Look at the SimpleTreeDataModel doc for more details.
> HTH
>
>
> Joe Hudson-2 wrote:
>> 
>> Is it possible to change the label of a TreeVirtual branch after it has
>> been
>> rendered?  I see a setValue method of the SimpleTreeDataModel but I can’t
>> get that to work.  Thanks.
>> 
>> Joe Hudson
>> 
>
> -- 
> View this message in context:
> http://www.nabble.com/How-can-I-change-the-label-of-a-TreeVirtual-branch--tf
> 3604664.html#a10075238
> Sent from the qooxdoo-devel mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> 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
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.446 / Virus Database: 269.4.0/762 - Release Date: 4/15/2007
> 4:22 PM
>  
>
> -- 
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.446 / Virus Database: 269.4.0/762 - Release Date: 4/15/2007
> 4:22 PM
>  
>
>
> -------------------------------------------------------------------------
> 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