{% if title %}

{{ __(title) }}


{% endif %} {% if subtitle %} {{ subtitle }}
{% endif %} {% for col in columns %} {% if col.name && col._id !== "_check" %} {% endif %} {% endfor %} {% for row in data %} {% for col in columns %} {% if col.name && col._id !== "_check" %} {% var value = col.fieldname ? row[col.fieldname] : row[col.id] %} {% var longest_word = cstr(value).split(' ').reduce((longest, word) => word.length > longest.length ? word : longest, ''); %} {% endif %} {% endfor %} {% endfor %}
# {{ __(col.name) }}
{{ row._index + 1 }} 45 %} class="overflow-wrap-anywhere" {% endif %}> {% format_data = row.is_total_row && ["Currency", "Float"].includes(col.fieldtype) ? data[0] : row %} {% if (row.is_total_row && col._index == 0) { %} {{ __("Total") }} {% } else { %} {{ col.formatter ? col.formatter(row._index, col._index, value, col, format_data, true) : col.format ? col.format(value, row, col, format_data) : col.docfield ? xhiveframework.format(value, col.docfield) : value }} {% } %}