I am able to add a button directly below the child table via:
frm.fields_dict["items"].grid.add_custom_button(__('Download CSV'),
function() {
downloadCSV();
});
The button is actually added on the very left of the row.
As this functionality is only used sometimes, I would like to have it on the right side.
Like this:
Any ideas or hints how to achieve that?