You can also use DataGrid.Column to specify custom options and then test against it in the template:
grid = DataGrid(fields[
DataGrid.Column('name', 'name', 'Name', options=dict(show_link=True)
...])
in the kid:
<a py:if="col.get_option('show_link', False)"
href="${std.url(str(row.id))}">
${col.get_field(row)}
</a>
Just a tip.
Documentation on DataGridWidget page is lagging at the moment.
Max.

