I am trying to figure out how to convert a Set or Rows into a list and not a table. This is what I tried so far:
`list_tags` was supposed to convert the list, but I can't figure this one out. def list_tags(id): tags = db(db.credit_transactions_tags.transaction_ref == id).select() if tags: html = '<ul>' for tag in tags: html += '<li>'+tag.name+'</li>' html += '</ul>' return html else: return '' links = [{'header':'Tags', 'body': lambda row: list_tags(row.id) }] records = SQLFORM.grid(db.credit_transactions.account_ref==account_id, fields=fields, links=links, maxtextlength=50, args=[account_id]) Thanks in advance. --