    <th {{ column.attrs.th.as_html }}>{{ column.header }}</th>
                    {% endif %}
                {% endfor %}
            </tr>
        </thead>
    {% endif %}
{% load helpers %}
    <tbody>
        {% for row in table.page.object_list|default:table.rows %}
            {% ifchanged row.record.grouping %}
            <tr>
                <th colspan="{{ table.columns|length }}">
                    <button type="button" class="btn-link accordion-toggle mdi mdi-chevron-down"
                   