{% macro header_footer(limit, total_rows, total_cols) %}
Viewing {{limit}} of {{total_rows}} rows / {{total_cols}} columns
{% endmacro %} {{header_footer(limit, total_rows, total_cols)}}
{%for col in cols: %}
{{col[0]}}
{{loop.index}} ({{col[1]}})
{% endfor %}
{%for r in data:%}
{%for k,v in r.items(): %}
{{v|string|replace(" ", "\u2E31")}}
{% endfor %}
{% endfor %}
{{header_footer(limit, total_rows, total_cols)}}