VTable icon indicating copy to clipboard operation
VTable copied to clipboard

[Feature] 可以支持ListTable-columns-text.customLayout 返回Vue或者React组件么

Open a417420427 opened this issue 1 year ago • 2 comments

What problem does this feature solve?

当前业务有很多地方需要自定义单元格,现在只能通过给定的组件去写customLayout或者 customRender,定义起来比较麻烦

What does the proposed API look like?

新增一个 类似 customJsxLayout 的方法或者再原来的customLayout进行拓展,可以返回vue或者react组件

a417420427 avatar Aug 15 '24 09:08 a417420427

https://www.visactor.io/vtable/demo-react/custom-layout/cell-custom-component 可以参考一下这个例子

Rui-Sun avatar Aug 23 '24 02:08 Rui-Sun

https://www.visactor.io/vtable/demo-react/custom-layout/cell-custom-component 可以参考一下这个例子

这个只能返回限定的组件吧, 没法返回自定义的

a417420427 avatar Sep 04 '24 05:09 a417420427

+1 有计划支持vue外部组件的能力吗?

Aluomolo avatar Dec 10 '24 07:12 Aluomolo