Open a417420427 opened 1 month ago
当前业务有很多地方需要自定义单元格,现在只能通过给定的组件去写customLayout或者 customRender,定义起来比较麻烦
新增一个 类似 customJsxLayout 的方法或者再原来的customLayout进行拓展,可以返回vue或者react组件
https://www.visactor.io/vtable/demo-react/custom-layout/cell-custom-component 可以参考一下这个例子
这个只能返回限定的组件吧, 没法返回自定义的
What problem does this feature solve?
当前业务有很多地方需要自定义单元格,现在只能通过给定的组件去写customLayout或者 customRender,定义起来比较麻烦
What does the proposed API look like?
新增一个 类似 customJsxLayout 的方法或者再原来的customLayout进行拓展,可以返回vue或者react组件