Shouldn't your super.setValue call be the first line of the method no
matter what (above the if)?  Also I'm not sure if it would make a
difference to compare if (item != null) instead of if (item !=
undefined).

Matt

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Carolyn Cole
Sent: Wednesday, December 14, 2005 7:05 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] rowRenderer

Hello,

I am currently trying to implement the CheckRowRenderer and get it to 
actually work.

I took the code from the tutorial and modified it to be able to show the

open/close icon and the  check box.  I also added some code to destroy
the 
check box in setValue if the item is undefined so you would not get the 
"extra" boxes on the screen before you rolled over them.

Generally it seemed to work until I tried to modify the data being 
displayed in the Tree.

Once the data is changed some of the old data still displays until it
get 
scrolled off the screen.

I am guessing I need to destroy the check box at another time, but I
can't 
figure out when.

I have attached the mxml and as that I am using.

Any ideas would be appreciated.

Thanks!

-- Carolyn


--
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



 


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income homes are not online. Make a difference this holiday season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
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