Refactor #3832 Refactor #3833 - For TreeTable

This commit is contained in:
Tuğçe Küçükoğlu 2023-04-13 11:53:28 +03:00
parent f592ab71d8
commit 7ee4c0ac83
6 changed files with 110 additions and 30 deletions

View file

@ -27,6 +27,7 @@
:selectionMode="selectionMode"
:checked="checked"
:partialChecked="partialChecked"
:templates="templates"
@node-toggle="$emit('node-toggle', $event)"
@checkbox-toggle="toggleCheckbox"
></TTBodyCell>
@ -46,6 +47,7 @@
:indentation="indentation"
:ariaPosInset="node.children.indexOf(childNode) + 1"
:ariaSetSize="node.children.length"
:templates="templates"
@node-toggle="$emit('node-toggle', $event)"
@node-click="$emit('node-click', $event)"
@checkbox-change="onCheckboxChange"
@ -104,6 +106,10 @@ export default {
ariaPosInset: {
type: Number,
default: null
},
templates: {
type: null,
default: null
}
},
nodeTouched: false,