I was afraid you were there:  "...like getting to the renderer of each
child node ..."  You can't do that.  You must work with the
dataProvider, setting an item node property with the checked state you
want, and the renderer must use that state in the set data method to set
the state of the check box.

 

Tracy

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of vuleman
Sent: Tuesday, January 23, 2007 3:19 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Custom Tree Renderer with checkboxes for Flex
2

 

Hi,
Actually it's not really traversing the tree, it's more like getting to 
the renderer of each child node (since the checkboxes are declared 
inside the renderer).

public class CustomTreeRenderer extends TreeItemRenderer
{
var checkbox:Checkbox;
}

Any help is appreciated
Thx
Vu

 

Reply via email to