Basically what you will need to do is get the id of that row and remove it from the data populating the grid and then refresh the grid. (If I remember correctly) ;)
HTH -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rodrigo Guerra Sent: Friday, March 10, 2006 11:07 AM To: Flashcoders mailing list Subject: [Flashcoders] datagrid icon to delete a row. hi all, i'm using this example from phil, http://philflash.inway.fr/dgrenderer/dgiconrd.html to put a image inside a datagrid colum. (any other you can share would be appreciated) what i want is click in the image and delete the row. i thought the datagrid class would provide a easy method like "removeRow(index)".. but there isn't. what's the code to delete a row in the datagrid. thanks! _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com