Hi Stefan,
Please note there is a reason why this was not implemented in the client by Mendix. (I hope Mendix can chip in to explain why)
A recommended way, is to mark objects as deleted by with a flag. And let the server handle the delete after synchronizing. Similar to the trashcan of windows file explorer
Cheers, Andries