Skip to content

Commit

Permalink
Merge pull request #4544 from FlipWarthog/PV4543
Browse files Browse the repository at this point in the history
Fix #4543: Column: headercheckboxicon slot not working
  • Loading branch information
tugcekucukoglu authored Oct 4, 2023
2 parents 4776718 + 2173790 commit 6652492
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 12 deletions.
1 change: 0 additions & 1 deletion components/lib/datatable/DataTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@
:filtersStore="filters"
:filterDisplay="filterDisplay"
:filterInputProps="filterInputProps"
:headerCheckboxIconTemplate="$slots.headercheckboxicon"
@column-click="onColumnHeaderClick($event)"
@column-mousedown="onColumnHeaderMouseDown($event)"
@filter-change="onFilterChange"
Expand Down
6 changes: 1 addition & 5 deletions components/lib/datatable/HeaderCell.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
:checked="allRowsSelected"
@change="onHeaderCheckboxChange"
:disabled="empty"
:headerCheckboxIconTemplate="headerCheckboxIconTemplate"
:headerCheckboxIconTemplate="column.children && column.children.headercheckboxicon"
:column="column"
:pt="pt"
/>
Expand Down Expand Up @@ -181,10 +181,6 @@ export default {
filterInputProps: {
type: null,
default: null
},
headerCheckboxIconTemplate: {
type: Function,
default: null
}
},
data() {
Expand Down
6 changes: 0 additions & 6 deletions components/lib/datatable/TableHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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"
/>
</template>
Expand Down Expand Up @@ -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"
/>
</template>
Expand Down Expand Up @@ -226,10 +224,6 @@ export default {
filterInputProps: {
type: null,
default: null
},
headerCheckboxIconTemplate: {
type: Function,
default: null
}
},
methods: {
Expand Down

0 comments on commit 6652492

Please sign in to comment.