antvis / antvis/S2

🤔请问明细表中mergedCellsInfo合并单元格后如何复制合并的单元格

Open
#2,277 2 comments 0 reactions 0 assignees View on GitHub
❔question 💤 inactive 🙏feature request help wanted
Dominant language
TypeScript
Stars
1.7k
Forks
220
PR merge metrics
No merged PRs in 30d

Description

### 🏷 Version

| Package | Version |
| -------------- | ------- |
| @antv/s2 | 1.33.1 |
| @antv/s2-react | |
| @antv/s2-vue | |

### Sheet Type

- [ ] PivotSheet
- [x] TableSheet
- [ ] GridAnalysisSheet
- [ ] StrategySheet
- [ ] EditableSheet

### 🖋 Description
在明细表中,config配置了mergedCellsInfo,如何选中合并的单元格并通过内置的enableCopy交互复制合并的单元格

### 🔗 Reproduce Link
https://codesandbox.io/s/busy-hofstadter-w6sl3q

### 😊 Expected Behavior
期望能够复制合并的单元格信息
### 😅 Current Behavior
合并的单元格无法选中也无法复制

Contributor guide

Open the contributing guide

Research direction

Open the linked CodeSandbox reproduction and inspect the TableSheet configuration using mergedCellsInfo and the built-in enableCopy interaction. Reproduce the inability to select or copy merged cells, then trace the relevant selection and copy behavior. Done means merged cells can be selected and their merged-cell information can be copied through the built-in interaction.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.