+
+
-
@@ -22,7 +22,11 @@ export default {
value: null,
checked: null,
name: null,
- column: null
+ column: null,
+ index: {
+ type: Number,
+ default: null
+ }
},
data() {
return {
@@ -30,7 +34,7 @@ export default {
};
},
methods: {
- getColumnPTOptions(key) {
+ getColumnPT(key) {
return this.ptmo(this.getColumnProp(), key, {
props: this.column.props,
parent: {
@@ -38,6 +42,7 @@ export default {
state: this.$data
},
context: {
+ index: this.index,
checked: this.checked,
focused: this.focused,
disabled: this.$attrs.disabled
diff --git a/components/lib/datatable/TableBody.vue b/components/lib/datatable/TableBody.vue
index 7cba404a9..0aa3e7528 100755
--- a/components/lib/datatable/TableBody.vue
+++ b/components/lib/datatable/TableBody.vue
@@ -10,14 +10,14 @@
role="row"
v-bind="ptm('rowgroupHeader')"
>
-
- |