antvis / S2

⚡️ A practical visualization library for tabular analysis.
https://s2.antv.antgroup.com
MIT License
1.47k stars 195 forks source link

next版本 明细表冻结列之后,无法合并冻结列的单元格 #2543

Open happypayne opened 8 months ago

happypayne commented 8 months ago
Package Version
@antv/s2 next
@antv/s2-react
@antv/s2-vue

Sheet Type

🖋 Description

明细表冻结列之后,无法合并冻结列中的单元格。

🔗 Reproduce Link

使用官网的demo,即可复现 https://s2.antv.antgroup.com/examples/layout/custom-header-group/#custom-table-col-header

const s2Options: S2Options = {
      width: 600,
      height: 480,
      seriesNumber: {
        enable: true
      },
     mergedCellsInfo: [
        [
          { colIndex: 1, rowIndex: 6, showText: true },
          { colIndex: 1, rowIndex: 7 },
          { colIndex: 2, rowIndex: 6 },
          { colIndex: 2, rowIndex: 7 },
          { colIndex: 3, rowIndex: 6 },
          { colIndex: 3, rowIndex: 7 },
        ],
      ],
      frozen: {
        // 列头冻结数量
        colCount: 2,
      },
    };

😊 Expected Behavior

image

😅 Current Behavior

当前配置无法实现

github-actions[bot] commented 8 months ago

你好 @happypayne,感谢你的建议, 我们会及时评估和排期, 谢谢! 当然, 如果能贡献 PR 帮助我们改进, 不胜感激!

Hello, @happypayne, thanks for your advice. We will evaluate and schedule in time. Thank you! you could implement it by yourself through the customization capabilities provided by S2. Thanks so much for your understanding.