If you mean clear the old data as that the content of the dataprovider should be = NULL, then maybe the variable that is assigned to the dataprovider is not [Bindable]? and thus the dataprovider doesn't reassing values?
Alex Harui wrote: > > Not sure what you mean by "clear" and why you think refresh() would > help. Please provide more detail. > > ------------------------------------------------------------------------ > *From:* [email protected] [mailto:[EMAIL PROTECTED] > *On Behalf Of *gur_sukh > *Sent:* Thursday, September 27, 2007 2:01 PM > *To:* [email protected] > *Subject:* [flexcoders] DataGrid in flex 2.0 > > When reassigning data to dataprovider the old data doesn't clear. So > there is overwriting. Anyone know how to fix this. refresh() doesn't > work. > > gur_sukh > >

