Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Table rowSelection renderCell #7358

Closed
1 task
kirohuji opened this issue Feb 19, 2024 · 1 comment
Closed
1 task

Table rowSelection renderCell #7358

kirohuji opened this issue Feb 19, 2024 · 1 comment
Labels

Comments

@kirohuji
Copy link

kirohuji commented Feb 19, 2024

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.2.20

Environment

macOS Ventura 13.4, Firefox 122.0.1,vue 3.3.20

Reproduction link

https://github.com/vueComponent/ant-design-vue

Steps to reproduce

Table组件 配置 多选 根据rowSpan 控制单元格合并

renderCell: (checked, record, index, originNode)=>{
if(record?.rowSpan>1){
return {
children: originNode,
props: { rowSpan: record.rowSpan }
}
} else {
return originNode
}
// return originNode;
}

What is expected?

符合条件的多选项那一栏会合并单元格

What is actually happening?

达到了预期的效果,但是控制台显示报错信息: Warning: columns.customRender return cell props is deprecated with perf issue, please use customCell instead.

目测应该是
image

Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant