[Bug] 合并行出现看不懂的问题
Open
@fangsmile is already working on this.
Since Aug 12, 2025.
bug
- Dominant language
- TypeScript
- Stars
- 3.7k
- Forks
- 486
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 16
Description
Version
1.19.0
Link to Minimal Reproduction
https://codesandbox.io/p/devbox/focused-waterfall-d75mpr
Steps to Reproduce
使用列配置合并出现问题
{
field: 'balanceDifference',
title: '回函金额差异',
width: 120,
mergeCell: (
v1: any,
v2: any,
extraArgs: {
source: { col: number; row: number }
target: { col: number; row: number }
table: BaseTableAPI
}
) => {
const { table, source, target } = extraArgs
const prevRecord = table.getCellOriginRecord(source.col, source.row)
const currentRecord = table.getCellOriginRecord(target.col, target.row)
// 如果两条记录都有 matchGroupId 并且它们相等,则合并
if (prevRecord?.matchGroupId && currentRecord?.matchGroupId) {
return prevRecord.matchGroupId === currentRecord.matchGroupId
}
// 否则不合并
return false
}
},
Current Behavior
Expected Behavior
预期数字展示正常
Environment
- OS:
- Browser:
- Framework:
Any additional comments?
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.