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

🤔数据单元格如何不允许被选中? #2439

Open
4 tasks
firmianaQ opened this issue Dec 1, 2023 · 1 comment
Open
4 tasks

🤔数据单元格如何不允许被选中? #2439

firmianaQ opened this issue Dec 1, 2023 · 1 comment
Labels
💤 inactive 不活跃的 Issue 或 PR, 30天没有回复 ❔question 疑问/使用问题

Comments

@firmianaQ
Copy link

🏷 Version

Package Version
@antv/s2 1.52.0
@antv/s2-vue 1.5.0

Sheet Type

  • [√ ] PivotSheet
  • TableSheet
  • GridAnalysisSheet
  • StrategySheet
  • EditableSheet

🖋 Description

请问数据单元格如何设置不允许被选中?

🔗 Reproduce Link

😊 Expected Behavior

😅 Current Behavior

@firmianaQ firmianaQ added the ❔question 疑问/使用问题 label Dec 1, 2023
@lijinke666
Copy link
Member

lijinke666 commented Dec 5, 2023

没有开放相关的配置, 数值不希望被选中的场景是? 或者直接来个 PR ?

临时方案可以增加一个 click 拦截

s2.interaction.addIntercepts(['click'])

@github-actions github-actions bot added the 💤 inactive 不活跃的 Issue 或 PR, 30天没有回复 label Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💤 inactive 不活跃的 Issue 或 PR, 30天没有回复 ❔question 疑问/使用问题
Projects
None yet
Development

No branches or pull requests

2 participants