AliHichem/AliDatatableBundle — Issue #2: Can't show footer of table
Author: chyshyya
Created: 2012-03-04 17:26:23+00:00
State: open

In main template you have a code:

{% for label,key in fields %}
{% if label != '_identifier_' %}
{{ label }}
{% endif %}
{% endfor %}
{% if action %}
{{ 'ali.common.action'|trans() }}
{% endif %}

And there is no ability to show footer (for example if I want to use it fo colunmFilter plug-in). So... maybe you can add to settings: showHeader and showFooter and template will look something like this:

{% if showHeader %}

{% for label,key in fields %}
{% if label != '_identifier_' %}
{{ label }}
{% endif %}
{% endfor %}
{% if action %}
{{ 'ali.common.action'|trans() }}
{% endif %}

{% endif %}
{% if showFooter %}

{% for label,key in fields %}
{% if label != '_identifier_' %}
{{ label }}
{% endif %}
{% endfor %}
{% if action %}
{{ 'ali.common.action'|trans() }}
{% endif %}

{% endif %}

Can you do this changes?