ant-design / ant-design/pro-components
🧐[问题] ProTable合并单元格失败,以及文档不一致且没有示例
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 1.4k
- Avg merge
- 10h 44m
- Merged PRs (30d)
- 3
Description
提问前先看看:
https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md
### 🧐 问题描述
1.按照procomponents文档上描述,onCell并没有被列出(三张贴图说明问题):
"ProTable 在 antd 的 Table 上进行了一层封装,支持了一些预设,并且封装了一些行为。这里只列出与 antd Table 不同的 API。"
2.使用ProTable的onCell,我的单元格没有得到合并,由于我的列是动态获取,获取到数据之后再处理onCell,不知道处理的对不对?以及是否可以贴出ProTable合并单元格的代码,我的示例代码如下:
### 💻 示例代码
https://paste.ofcode.org/a3ERi8dfHbHz8JNmkg4mGw
### 🚑 其他信息



Contributor guide
Research direction
Start with the linked ProTable usage example and compare its onCell behavior with the documented antd Table API. Done means the documentation explains whether ProTable supports cell merging and includes a working example for dynamically generated columns.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- documentation, frontend
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100