DataGrid and menu

This solves the problem with the example screenshot above. I wanted to put the menu in the datagrid cell, here both methods fail