Merge pull request #4544 from FlipWarthog/PV4543

Fix #4543: Column: headercheckboxicon slot not working
pull/4551/head
Tuğçe Küçükoğlu 2023-10-04 17:24:38 +03:00 committed by GitHub
commit 665249279f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 12 deletions

View File

@ -87,7 +87,6 @@
:filtersStore="filters" :filtersStore="filters"
:filterDisplay="filterDisplay" :filterDisplay="filterDisplay"
:filterInputProps="filterInputProps" :filterInputProps="filterInputProps"
:headerCheckboxIconTemplate="$slots.headercheckboxicon"
@column-click="onColumnHeaderClick($event)" @column-click="onColumnHeaderClick($event)"
@column-mousedown="onColumnHeaderMouseDown($event)" @column-mousedown="onColumnHeaderMouseDown($event)"
@filter-change="onFilterChange" @filter-change="onFilterChange"

View File

@ -35,7 +35,7 @@
:checked="allRowsSelected" :checked="allRowsSelected"
@change="onHeaderCheckboxChange" @change="onHeaderCheckboxChange"
:disabled="empty" :disabled="empty"
:headerCheckboxIconTemplate="headerCheckboxIconTemplate" :headerCheckboxIconTemplate="column.children && column.children.headercheckboxicon"
:column="column" :column="column"
:pt="pt" :pt="pt"
/> />
@ -181,10 +181,6 @@ export default {
filterInputProps: { filterInputProps: {
type: null, type: null,
default: null default: null
},
headerCheckboxIconTemplate: {
type: Function,
default: null
} }
}, },
data() { data() {

View File

@ -36,7 +36,6 @@
@constraint-add="$emit('constraint-add', $event)" @constraint-add="$emit('constraint-add', $event)"
@constraint-remove="$emit('constraint-remove', $event)" @constraint-remove="$emit('constraint-remove', $event)"
@apply-click="$emit('apply-click', $event)" @apply-click="$emit('apply-click', $event)"
:headerCheckboxIconTemplate="headerCheckboxIconTemplate"
:pt="pt" :pt="pt"
/> />
</template> </template>
@ -119,7 +118,6 @@
@constraint-add="$emit('constraint-add', $event)" @constraint-add="$emit('constraint-add', $event)"
@constraint-remove="$emit('constraint-remove', $event)" @constraint-remove="$emit('constraint-remove', $event)"
@apply-click="$emit('apply-click', $event)" @apply-click="$emit('apply-click', $event)"
:headerCheckboxIconTemplate="headerCheckboxIconTemplate"
:pt="pt" :pt="pt"
/> />
</template> </template>
@ -226,10 +224,6 @@ export default {
filterInputProps: { filterInputProps: {
type: null, type: null,
default: null default: null
},
headerCheckboxIconTemplate: {
type: Function,
default: null
} }
}, },
methods: { methods: {