Man, if you do not know what a "dataProvider" is, you have a lot of studying to do. Hit the documents for a while before you try to go further. You will at least need the basic terminology to understand any advice I may give you.
I fear you will have difficulty finding a full example because you goal is so general, and there are so many possible ways to do it. Tracy ________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason B Sent: Tuesday, May 06, 2008 10:14 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: datagrid using button or checkbox wHat Code to Trigger actually ive not heard of dataprovider until now for this before you mentioned a php issue or xml ? thats the reason i feel confused. also i mentioned if i could get a working example off the web, which is still desired but not given. I'll search and see what i can find. but basically your stating a dataprovider is what im looking for. --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > > Yes, this is the way to do it in a real app, and is the way I do it, by > building an update message that I send to the server. > > > > Jason and I have been through all of that in this thread, but he was not > receptive to that level of advice, and his last question was simply: > > "How can i remove an item from the data grid using action script?" > > So that is what I answered. I'd have given more detail, but he has not > said what his dataProvider is.... Hint, Jason. > > Tracy > > ________________________________ > > From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> [mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> ] On > Behalf Of Amy > Sent: Monday, May 05, 2008 6:47 PM > To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > Subject: [flexcoders] Re: datagrid using button or checkbox wHat Code to > Trigger > > > > --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> <mailto:flexcoders%40yahoogroups.com> > , "Tracy Spratt" <tspratt@> wrote: > > > > Use the dataProvider API, to remove the item from the dataProvider. > > It might be better to mark the item as removed in the dataProvider, > since that will probably make it easier to do the delete operation on > the server. After that (correct me if I'm wrong--this is all > theoretical to me), you'd need to filter the dataProvider to only show > the items that have not been removed. The last step would be either > using the dataProvider's source to send to the server or removing the > filter. > > JMO; > > Amy >