vxe-table icon indicating copy to clipboard operation
vxe-table copied to clipboard

目前的插槽除了【top,bottom,paper】,其他的插槽都支出渲染,希望这3个插槽也能够支持渲染,这样就更方便通过json配置设置grid,如果能再添加left,right插槽并且能渲染就更强大了。

Open jianliulin opened this issue 1 year ago • 1 comments

这个需求解决了什么问题:

目前的插槽除了【top,bottom,paper】,其他的插槽都支出渲染,希望这3个插槽也能够支持渲染,这样就更方便通过json配置设置grid,如果能再添加left,right插槽并且能渲染就更强大了。

image

建议的 API 是什么样的:

renderPaper(renderOpts, params: { data, row, rowIndex, $rowIndex, $table , $grid})

renderTop(renderOpts, params: { data, row, rowIndex, $rowIndex, $table , $grid}) renderBottom(renderOpts, params: { data, row, rowIndex, $rowIndex , $table ,$grid})

renderLeft(renderOpts, params: { data, row, rowIndex, $rowIndex , $table ,$grid}) renderRight (renderOpts, params: { data, row, rowIndex, $rowIndex, $table , $grid})

data为自定义数据。

是否已有其他不错的替代方案:

jianliulin avatar Mar 13 '23 02:03 jianliulin