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

🙏选中多个单元格时,可以配置开启不显示内部描边,只展示选中区域整体的外部描边 #2523

Open
2 of 5 tasks
chenluli opened this issue Jan 19, 2024 · 1 comment
Labels
🙏feature request 新需求支持 💤 inactive 不活跃的 Issue 或 PR, 30天没有回复

Comments

@chenluli
Copy link
Member

🏷 Version

Package Version
@antv/s2 1.54.1
@antv/s2-react 1.46.0
@antv/s2-vue -

Sheet Type

  • PivotSheet
  • TableSheet
  • GridAnalysisSheet
  • StrategySheet
  • EditableSheet

🖋 Description

选中多个单元格时,可以配置开启不显示内部的描边

目前 s2 可以配置选中的数据单元格激活状态为描边

theme: {
    dataCell: {
      cell: {
        interactionState: {
          selected: {
            borderWidth: 1,
            borderColor: '#000',
            borderOpacity: 1,
          },
        },
      },
    },
  },

展示样式为:
image

选中区域内部单元格会有两层黑色边框,希望可以支持配置成不展示中间的边框,类似下面 excel 效果:
image

🧐 Suggest the API

theme - dataCell 可以配置 inner boarder 关闭/样式

name type default description
- - - -
@chenluli chenluli added the 🙏feature request 新需求支持 label Jan 19, 2024
@github-actions github-actions bot added the 💤 inactive 不活跃的 Issue 或 PR, 30天没有回复 label Mar 1, 2024
@cweijan
Copy link

cweijan commented Mar 29, 2024

同求, 现在每个单元格都有边框太丑了.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🙏feature request 新需求支持 💤 inactive 不活跃的 Issue 或 PR, 30天没有回复
Projects
None yet
Development

No branches or pull requests

2 participants