{# filterable_table.html — pure Tailwind data table, ux-architect/components/data-table contract #} {% if table %} {%- set config_json = { "sortField": table.default_sort_field, "sortDir": table.default_sort_dir, "inlineEditable": table.inline_editable, "bulkActions": table.bulk_actions, "entityName": table.entity_name } | tojson -%}
| {% endif %} {# Column headers #} {% for col in table.columns %} {% if not col.hidden %} |
{% if col.sortable %}
{# Sortable header button #}
{% else %}
{{ col.label }}
{% endif %}
{# Resize handle — 4px wide, right edge of th #}
|
{% endif %}
{% endfor %}
{# Actions column header #}
Actions |
|---|
No {{ table.entity_name | replace("_", " ") | lower }}s found
Try adjusting your search or filter criteria.
{% if table.create_url %} New {{ table.entity_name | replace("_", " ") }} {% endif %}