{% for col in table.columns.names if col in table.columns.visible %} {% endfor %} {% for row in table.data %} {% snippet row_snippet, row=row, table=table %} {% endfor %}
{{ table.columns.labels[col] or col }}