If your dataProvider is a collection you can call removeAll().  This
will automatically update you display

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Joshua Partogi
Sent: Monday, September 29, 2008 6:11 PM
To: [email protected]
Subject: [flexcoders] How do we clear List's data

 

dear all,

I have got a List component that has data in it. But I want to clear
the data in it. How do we do this in Flex? Has anyone got any
experience with this? I tried using list.dataProvider = null but it
doesn't work. Could anyone give me a hint and clue about this please?

Many thanks

-- 
Read my blog: http://joshuajava.wordpress.com/
<http://joshuajava.wordpress.com/> 
Follow me on twitter: http://twitter.com/jpartogi
<http://twitter.com/jpartogi> 

 

Reply via email to