vue-datagrid icon indicating copy to clipboard operation
vue-datagrid copied to clipboard

VGridVueTemplate issue on Vue 3

Open c4b4d4 opened this issue 2 years ago • 0 comments

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.

c4b4d4 avatar Mar 25 '22 19:03 c4b4d4