VTable icon indicating copy to clipboard operation
VTable copied to clipboard

[Feature] PivotTable's corner can support customRender customLayout

Open fangsmile opened this issue 1 year ago • 2 comments

What problem does this feature solve?

image use this feature can write this demo

What does the proposed API look like?

1

fangsmile avatar Jun 13 '24 04:06 fangsmile

Let me try.

ziqiangai avatar Sep 27 '24 08:09 ziqiangai

具体需求是给角头增加自定义渲染能力 也就是增加customRender和customLayout的配置到corner 。然后通过自定义能力实现这样一个demo。 image

需要注意的是: customRender和customLayout的作用目前是给当前单元格定义自定义渲染,例如角头部分是两个单元格的时候,配置了自定义渲染,和目前其他地方的自定义渲染逻辑一样在两个单元格分别进行自定义绘制 image 但是我们实现的目前是需要有合并的能力,也就是两个单元格是按一个单元格来渲染自定义内容的。这个开发前需要需要参考学习自定义合并单元格能力: https://visactor.io/vtable/demo/basic-functionality/custom-merge https://visactor.io/vtable/option/ListTable#customMergeCell 以及分组标题的合并及自定义渲染: https://visactor.io/vtable/demo/table-type/list-table-group https://visactor.io/vtable/option/ListTable#groupTitleCustomLayout

fangsmile avatar Sep 27 '24 08:09 fangsmile