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

[Feature] 能否在选中多个单元格的情况下,保持行高亮的状态? #2026

Open
mzhang-eric opened this issue Jul 2, 2024 · 2 comments
Labels
feature 新需求 good first issue Good for newcomers

Comments

@mzhang-eric
Copy link

mzhang-eric commented Jul 2, 2024

What problem does this feature solve?

当设置单元格选中响应模式为整行高亮时,选中单个单元格时,所在行会出现高亮样式,但通过Ctrl Shift 快捷键或鼠标框选选中多个单元格,行的高亮状态不存在了,selectionStyle.inlineRowBgColor 没有生效。

const option = {
    select: {
        highlightMode: 'row'
    },
   selectionStyle: {
      cellBgColor: 'rgba(0, 174, 199, 0.2)',
      cellBorderLineWidth: 1,
      cellBorderColor: '#3dc1d4',
      inlineRowBgColor: '#86dbeb',
  },
}

What does the proposed API look like?

希望在选中多个单元格的时候,单元格所在的行都能保持高亮状态

@mzhang-eric mzhang-eric added the feature 新需求 label Jul 2, 2024
@mzhang-eric mzhang-eric changed the title [Feature] 能否在高亮整行的模式下,支持快捷键 Ctrl Shift 针对行进行操作? [Feature] 能否在选中多个单元格的情况下,保持高亮整行的状态? Jul 2, 2024
@mzhang-eric mzhang-eric changed the title [Feature] 能否在选中多个单元格的情况下,保持高亮整行的状态? [Feature] 能否在选中多个单元格的情况下,保持行高亮的状态? Jul 2, 2024
@fangsmile
Copy link
Contributor

目前的逻辑是只有一个单元格被选中的情况 才会出现整行整列的高亮效果

@fangsmile fangsmile added the good first issue Good for newcomers label Jul 3, 2024
@fangsmile
Copy link
Contributor

我标记了good first issue 看看有没有其他贡献者可以看看这个需求 或者你也可以参与开源共享 提pr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 新需求 good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants