diff --git a/components/lib/datatable/DataTable.vue b/components/lib/datatable/DataTable.vue index b6f2ac09a2..8ee20b53d7 100755 --- a/components/lib/datatable/DataTable.vue +++ b/components/lib/datatable/DataTable.vue @@ -87,7 +87,6 @@ :filtersStore="filters" :filterDisplay="filterDisplay" :filterInputProps="filterInputProps" - :headerCheckboxIconTemplate="$slots.headercheckboxicon" @column-click="onColumnHeaderClick($event)" @column-mousedown="onColumnHeaderMouseDown($event)" @filter-change="onFilterChange" diff --git a/components/lib/datatable/HeaderCell.vue b/components/lib/datatable/HeaderCell.vue index 2718570c79..be4c997443 100644 --- a/components/lib/datatable/HeaderCell.vue +++ b/components/lib/datatable/HeaderCell.vue @@ -35,7 +35,7 @@ :checked="allRowsSelected" @change="onHeaderCheckboxChange" :disabled="empty" - :headerCheckboxIconTemplate="headerCheckboxIconTemplate" + :headerCheckboxIconTemplate="column.children && column.children.headercheckboxicon" :column="column" :pt="pt" /> @@ -181,10 +181,6 @@ export default { filterInputProps: { type: null, default: null - }, - headerCheckboxIconTemplate: { - type: Function, - default: null } }, data() { diff --git a/components/lib/datatable/TableHeader.vue b/components/lib/datatable/TableHeader.vue index d839f94a24..11f049b5f1 100755 --- a/components/lib/datatable/TableHeader.vue +++ b/components/lib/datatable/TableHeader.vue @@ -36,7 +36,6 @@ @constraint-add="$emit('constraint-add', $event)" @constraint-remove="$emit('constraint-remove', $event)" @apply-click="$emit('apply-click', $event)" - :headerCheckboxIconTemplate="headerCheckboxIconTemplate" :pt="pt" /> @@ -119,7 +118,6 @@ @constraint-add="$emit('constraint-add', $event)" @constraint-remove="$emit('constraint-remove', $event)" @apply-click="$emit('apply-click', $event)" - :headerCheckboxIconTemplate="headerCheckboxIconTemplate" :pt="pt" /> @@ -226,10 +224,6 @@ export default { filterInputProps: { type: null, default: null - }, - headerCheckboxIconTemplate: { - type: Function, - default: null } }, methods: {