I'm trying to implement a tree with a checkbox renderer, but so far 
with no luck. 

I've tried the example at macromedia, 
http://www.macromedia.com/support/documentation/en/flex/1/cellrendere
rs/cellrenderers13.html but it doesn't work properly. It behave in a 
strange way, basically as soon as you roll over a row of the tree 
the checkbox covers the disclosure arrow icon making it difficult if 
not impossible to open a branch. 

I've tried to modify the code relative to the position of the 
checkbox:

 

_check._x = disclosure._x;
  disclosure._x = _check._x + _check._width + 2;
  nodeIcon._x = disclosure._x + disclosure._width + 2;
  cell._x = nodeIcon._x + nodeIcon._width + 2;

 

but all the changes made at disclosure._x = _check._x + 
_check._width + 2 ; were disregarded.

 

I've even tried using a different approach, by using different icons 
for displaying the different state of the check box but then 
realising that I needed a real checkbox implementation for my 
purpose. 

 

Any help would be really appreciated (the macromedia example would 
be perfect if only works as expected )






------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12hocv52a/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123775931/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992
">Fair play? Video games influencing politics. Click and talk back!</a>.</font>
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to