diff --git a/tailbone/grids/core.py b/tailbone/grids/core.py index fbe50bb9..6026714d 100644 --- a/tailbone/grids/core.py +++ b/tailbone/grids/core.py @@ -964,7 +964,10 @@ class CustomWebhelpersGrid(webhelpers2_grid.Grid): value = self.get_column_value(column_number, i, record, column_name) if self.mobile: url = self.url_generator(record, i) - return HTML.tag('li', tags.link_to(value, url)) + attrs = {} + if hasattr(record, 'uuid'): + attrs['data_uuid'] = record.uuid + return HTML.tag('li', tags.link_to(value, url), **attrs) if self.linked_columns and column_name in self.linked_columns: url = self.url_generator(record, i) value = tags.link_to(value, url)