I run into similar problem myself. I use custom datagrid.kid which supports baseurl argument which is then prepended to edit/delete urls:
<?python baseurl = value_of('baseurl', '') ?>
...
<a href="${std.url([baseurl + str(row.id), 'edit'])}">
...
Of course, you still need a way to pass proper baseurl to it. For a
fastdata controllers that's a bit tricky.

