How can you capture the event of a record being deleted from a datagrid?