vue.draggable.next icon indicating copy to clipboard operation
vue.draggable.next copied to clipboard

How to use in element-plus el-table?

Open jjhuang01 opened this issue 4 years ago • 2 comments

element-plus.gitee.io

jjhuang01 avatar Aug 03 '21 06:08 jjhuang01

I would need to know the same, before I go and develop my own component to use as a table. I can see that could be an issue with the new vue.draggable for VueJS 3 as Element tables were always "column based" and "vue.draggable.next" is "row based".

I tried to create an element-plus el-table component with the "tag='el-table'" and ":componentData={ref: yourTableName, data: yourDataArray}" props inside the draggable component, but no luck, as <template #item="{element}"> expects only one child, but el-table uses multiple children.

If anyone finds a solution to this, please let me know!

Thanks!

wldrve avatar Mar 24 '22 14:03 wldrve

Any achievement?

msmosavar avatar Dec 27 '23 07:12 msmosavar