{# ------------------------------------------------------ grid ------------------------------------------------------ #} {% block grid %}
{{ grid.noDataMessage|default('No data')|trans|raw }}
{% endblock grid_no_data %} {# --------------------------------------------------- grid_no_result ------------------------------------------------- #} {% block grid_no_result %} {% spaceless %} {% set nbColumns = 0 %} {% for column in grid.columns %} {% if column.visible(grid.isReadyForExport) %} {% set nbColumns = nbColumns + 1 %} {% endif %} {% endfor %}