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

🐛明细表交叉表设置指定列宽度后,表格剩余列无法自适应容器宽度 #1820

Open
2 tasks
Bernicechl opened this issue Oct 13, 2022 · 9 comments
Assignees
Labels
⚡ enhancement 功能增强 pivot sheet 透视表相关问题 table sheet 明细表问题

Comments

@Bernicechl
Copy link

Bernicechl commented Oct 13, 2022

🏷 Version

latest
@antv/s2

Sheet Type

  • PivotSheet
  • TableSheet

🖋 Description

明细表交叉表设置指定列宽度后,表格剩余列无法自适应容器宽度

⌨️ Code Snapshots

image
image

🤔 Steps to Reproduce

https://s2.antv.vision/zh/examples/basic/pivot#grid
将s2Options修改为

const s2Options = {
      width: 900,
      height: 480,
        style: {
          colCfg: {
            width: (colNode) => {
              console.log('colNode: ', colNode);
              return colNode.colIndex <= 2 ? 100 : 50
            },
          },
      },
    };

明细表同理

😊 Expected Behavior

设置指定列宽厚表格仍撑满容器

😅 Current Behavior

设置指定列宽厚表格不撑满容器

💻 System information

@lijinke666 lijinke666 added table sheet 明细表问题 pivot sheet 透视表相关问题 labels Oct 13, 2022
@github-actions github-actions bot added the 💤 inactive 不活跃的 Issue 或 PR, 30天没有回复 label Nov 16, 2022
@yufan1029
Copy link

相同问题,希望能解决。

@Bernicechl
Copy link
Author

Bernicechl commented Feb 10, 2023 via email

@github-actions github-actions bot removed the 💤 inactive 不活跃的 Issue 或 PR, 30天没有回复 label Feb 10, 2023
@github-actions github-actions bot added the 💤 inactive 不活跃的 Issue 或 PR, 30天没有回复 label Mar 16, 2023
@nnn149
Copy link

nnn149 commented Jul 10, 2023

相同问题,希望能解决。

@Bernicechl
Copy link
Author

Bernicechl commented Jul 10, 2023 via email

@github-actions github-actions bot removed the 💤 inactive 不活跃的 Issue 或 PR, 30天没有回复 label Jul 10, 2023
@LazyJoke
Copy link

相同问题,希望能解决。

@github-actions github-actions bot added the 💤 inactive 不活跃的 Issue 或 PR, 30天没有回复 label Aug 31, 2023
@lijinke666 lijinke666 self-assigned this Aug 31, 2023
@aimerthyr
Copy link
Contributor

相同问题,希望能解决。

@Bernicechl
Copy link
Author

Bernicechl commented Nov 21, 2024 via email

@github-actions github-actions bot removed the 💤 inactive 不活跃的 Issue 或 PR, 30天没有回复 label Nov 21, 2024
@wjgogogo wjgogogo added the ⚡ enhancement 功能增强 label Dec 5, 2024
Copy link
Contributor

github-actions bot commented Dec 5, 2024

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

Hello, @Bernicechl, 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.

@Bernicechl
Copy link
Author

Bernicechl commented Dec 5, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚡ enhancement 功能增强 pivot sheet 透视表相关问题 table sheet 明细表问题
Projects
None yet
Development

No branches or pull requests

7 participants