Tracy, Thanks a ton, thats exactly what I needed, and it works perfect!
This is my 1st flex app, and I have a background in CF for about 6 years now. I didnt even consider Flex 1.X due to its cost, but I got my company to purchase the Flex builder 2 without too much problem. Thanks again for your help! Chris > > Set myDataGrid.dataProvider = []; > > > > This assumes you are not binding directly to the data service result, > but are instead using a result handler function to assign the > dataProvider. If the resultHandler sets a globla variable, to which > your DG is bound, then set that variable to an empty array. > > > > If you are binding directly to the lastResult object, don't. > > > > Tracy > > > > ________________________________ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of dsfhsdfjsdfj > Sent: Wednesday, October 11, 2006 3:58 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Clearing or resetting a datagrid bound to a web > service > > > > I have a simple form in flex, and I am coding a reset button. To > populate my datagrid, I use a CFC based webservice that returns a > query. I need to be able to clear that datagrid when the user presses > the reset button. Any suggestions? > -- 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/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> 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/