Closed jfloww closed 10 months ago
const myVue = Vue.component('my-component', { props: ['rowIndex'], data: function () { return { count: 0 } }, methods: { iAmClicked(e: any) { this.count++ } }, template: 'You clicked me {{ count }} times.' }) const columns = [ { name: 'DELIVERY NO', prop: 'deliveryNumber', size: 150 }, { name: 'DETAIL', cellTemplate: TableContainer.VGridVueTemplate(myVue), size: 200 } ]
I want to test for cell onclick action. but have several errors. I have stucked on this error for 3days.. There are two error in my console.
Do you guys have any solution for these errors? Thanks in advance.
Solved the problem
const myVue = Vue.component('my-component', { props: ['rowIndex'], data: function () { return { count: 0 } }, methods: { iAmClicked(e: any) { this.count++ } }, template: '' }) const columns = [ { name: 'DELIVERY NO', prop: 'deliveryNumber', size: 150 }, { name: 'DETAIL', cellTemplate: TableContainer.VGridVueTemplate(myVue), size: 200 } ]
I want to test for cell onclick action. but have several errors. I have stucked on this error for 3days.. There are two error in my console.
Do you guys have any solution for these errors? Thanks in advance.