Here the steps you can do 1. Dispatch a custom Event when a item is deleted from the first List. 2. Have the custom event carry the item deleted info. 3. Create a event handler for the delete custom event in the main view which has all the three list components. 4. Delete the item from List-2 and List-3 in the event handler. e.g
private function deleteHandler( event:DeleteEvent ) : void { var item:Object = event.deleteItem; for ( var i:int = 0; i > list2.dataProvider.length; ++i ) { if ( item.name == list2.dataProvider[i].name ) { list2.removeItemAt(i); break; } } //repeat the same logic for List3 compoent. } Hope this helps.!! On Mon, Mar 21, 2011 at 3:33 AM, Harsh <harsh...@gmail.com> wrote: > > Hi friends I have got a new problem, > I am using three LIST components with their separate DataProviders. I > have added a custom menu option of REMOVE(delete item from list) on > first list. > > Now all I want is to use the event handler function for deleting item > in list to be used by all remaining components to which I have applied > custom component. So the REMOVE custom menu should work same as for > First LIST as to Second LIST and delete their respective elements > > > > Thanks in advance.;.. > Harsh Jain > > -- > You received this message because you are subscribed to the Google Groups > "Flex India Community" group. > To post to this group, send email to flex_india@googlegroups.com. > To unsubscribe from this group, send email to > flex_india+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_india@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.