diff --git a/public/plugins/vue/tt-components/tt-table.js b/public/plugins/vue/tt-components/tt-table.js index 25c82c5ed..7e6bfe15a 100644 --- a/public/plugins/vue/tt-components/tt-table.js +++ b/public/plugins/vue/tt-components/tt-table.js @@ -15,6 +15,7 @@ * For 'iconSelect', an additional 'icon' property (CSS class for the icon) is required. * @property {boolean} [sortable=true] - (Optional) Indicates whether the column is sortable. Default is true. * @property {string} [class] - (Optional) Additional CSS classes to apply to the column. + * @property {string} [headerClass] - (Optional) Additional CSS classes to apply to the column header. * @property {string} [suffix] - (Optional) Additional CSS classes to apply to the column. * @property {string} [prefix] - (Optional) Additional CSS classes to apply to the column. * */ @@ -144,13 +145,13 @@ Vue.component('tt-table', {
{{ column.text }} @@ -596,6 +597,7 @@ Vue.component('tt-table', { filterOptions: column.filterOptions || undefined, sortable: column.sortable !== undefined ? column.sortable : true, class: column.class !== undefined ? column.class : '', + headerClass: column.headerClass || false, prefix: column.prefix || '', suffix: column.suffix || '', priority: column.priority + 100 || i--