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/cellrenderers/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 )
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
| Computer software testing | Macromedia flex | Development |
| Software developer |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

