vue-datagrid
vue-datagrid copied to clipboard
VGridVueTemplate issue on Vue 3
Does VGridVueTemplate work on Vue 2 only? I'm using Vue 3, and I see nothing being rendered on the screen.
My column config is as simple as:
import * as Boton from "@/components/Button.vue"
{
name:"Edit",
prop:"edit",
cellTemplate: VGridVueTemplate(Button, {label:"Edit"})
}
But the cell appears empty.
I'm even adding a log to see if the component ever gets mounted
mounted(){
console.error("Mounted button",this.label);
}
But it does not.