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

🐛 react组件的S2树状表格 设置treeRowsWidth 优先级高于rowCfg.width 未生效 #1622

Closed
4 tasks
X-x-start opened this issue Jul 28, 2022 · 27 comments
Closed
4 tasks
Assignees
Labels
🐛 bug 这个是一个 bug released on @alpha released s2-core Core 层 问题 s2-react React 组件层问题

Comments

@X-x-start
Copy link

🏷 Version

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

Sheet Type

  • PivotSheet
  • TableSheet
  • GridAnalysisSheet
  • StrategySheet

🖋 Description

⌨️ Code Snapshots

🔗 Reproduce Link

🤔 Steps to Reproduce

😊 Expected Behavior

😅 Current Behavior

💻 System information

@github-actions
Copy link
Contributor

@X-x-start
Copy link
Author

X-x-start commented Jul 28, 2022 via email

@lijinke666 lijinke666 added s2-react React 组件层问题 👀 need more info Issue/pr 描述太少, 没有可用信息 labels Jul 29, 2022
@github-actions
Copy link
Contributor

你好 @X-x-start,你所提供的信息不足于我们排查问题, 请按照 issue 模板填写相关信息 (参考 #852 #848), 提供 gif, 截图, 代码片段, 配置信息, 版本号, 可复现链接等方式, 详细说明复现步骤, 感谢配合, 谢谢! 15 天内未回复issue自动关闭。

Hello, @X-x-start, the information you provided is not enough for us to troubleshoot the problem. Please complete the issue description (refer #852 #848), provide gifs, screenshots, config, version. And explain the reproduction steps in detail. Thanks so much for your cooperation! The issue will be closed without any replay within 15 days.

@X-x-start
Copy link
Author

https://codesandbox.io/s/adoring-keller-kzwbzy?file=/index.tsx 这个是复现的demo
image
这个应该是 300的宽 按照treeRowsWidth 优先级高的话 但是现在不生效 @xingwanying

@github-actions github-actions bot removed the 👀 need more info Issue/pr 描述太少, 没有可用信息 label Aug 2, 2022
@lijinke666 lijinke666 added 🐛 bug 这个是一个 bug s2-core Core 层 问题 labels Aug 3, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Aug 3, 2022

你好 @X-x-start,很抱歉给你带来了不好的体验, 我们会尽快排查问题并修复, 请关注后续发布日志.

Hello, @X-x-start, We are so sorry for the bad experience. We will troubleshoot and fix the problem as soon as possible. Please pay attention to the follow-up change logs.

@lijinke666
Copy link
Member

🎉 This issue has been resolved in version @antv/s2-v1.25.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Member

🎉 This issue has been resolved in version @antv/s2-react-v1.23.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

xingwanying added a commit that referenced this issue Aug 12, 2022
* feat: 当前只能复制数值可带表头复制 (#1590)

* feat: 添加通过 cellMetas 获取单元格对应的列头文本的方法

* feat: 添加通过 cellMetas 获取单元格对应的行头文本的方法

* feat: 只复制数据单元格时可以携带行列头

* feat: 选择某X行/列数据时可以携带行列头

* feat: 提取矩阵转换为字符串的方法

* test: 添加带行列头复制的单测

* test: 明细表添加带行列头复制的单测

* docs: 复制数据是否带表头信息

* feat(interaction): 行列宽高支持控制拖拽范围 (#1583)

* feat(interaction): 行列宽高支持控制拖拽范围

* feat(interaction): 增加测试和文档

* feat(interaction): 增加主题色

* Update row-column-resize-spec.ts

* Update packages/s2-core/src/interaction/row-column-resize.ts

Co-authored-by: Wenjun Xu <[email protected]>

* fix: rename

Co-authored-by: Wenjun Xu <[email protected]>

* docs: 复制数据是否带表头信息

* refactor: 评审细节修改

Co-authored-by: zishang <[email protected]>
Co-authored-by: Jinke Li <[email protected]>
Co-authored-by: Wenjun Xu <[email protected]>

* fix(layout): 修复 Firefox 浏览器部分 icon 渲染失败 close #1571 (#1599)

* fix: 有冻结行且有垂直scrollWidth时冻结行无法 resize (#1594)

* fix: 有冻结行且有垂直scrollWidth时冻结航无法resize

* fix: 有冻结行且有垂直scrollWidth时冻结航无法resize

Co-authored-by: owen.wjh <[email protected]>

* chore: 🤖 更新 lock 和 changelog 文件 (#1601)

* fix: sortByFunc 排序后行列维度节点丢失 (#1606)

* fix(interaction): 向左移动到不完全可见cell的时候,没有滚动过去 (#1607)

* fix: 明细表复制时无需使用formatter格式化列头label (#1610)

* fix: 明细表复制时无需使用formatter格式化列头label

* test: 完善明细表导出case

* feat: 支持resize最右侧column (#1611)

* feat: 支持resize最右侧column

* fix: 添加testing-library/dom dep

* fix: npm源

* fix: npm源

* fix: 切换成dispatchEvent

* fix: testcase fix

Co-authored-by: owen.wjh <[email protected]>

* docs: 将 S2Event 提取到 API 文档中, 方便查看 (#1618)

* fix(strategysheet): 修复趋势分析表列头格式化不生效 (#1616)

* fix(strategysheet): 修复趋势分析表列头格式化不生效

* fix: update

* test: 增加测试

* fix: test

* docs: 优化文档说法和校正有误的内容 (#1640)

* docs: 让 demo 展示符合主题

* docs: 排序文档优化

* docs: 合并单元格文档更新

* docs: getAllCells()获取数据说明问题

* fix:  修复存在 0 时,数值为 number 时,排序错误的问题 (#1644)

* fix: 修复存在 0 时,排序错误的问题

* test: 补充存在 0 时,排序错误的单测

* fix: 修复单测字典序排序错误

Co-authored-by: zishang <[email protected]>

* fix(pagination): 分页配置未传 current 参数时表格渲染空白 (#1633)

* feat: 复制支持html格式 (#1647)

* feat: 复制支持html格式

* fix: 修复复制测试用例

* fix: 添加复制格式测试用例

* Update packages/s2-core/src/utils/export/copy.ts

Co-authored-by: stone <[email protected]>

* fix: moved mimetype as enum

* chore: generic type narrowing

* fix: html escaping special chars

Co-authored-by: owen.wjh <[email protected]>
Co-authored-by: stone <[email protected]>

* feat(interaction): 宽高调整事件透出 resizedWidth/resizedHeight, 修复错误类型定义 (#1638)

* feat(interaction): 宽高调整事件透出 resizedWidth/resizedHeight, 修复错误类型定义

* docs: 优化文档

* chore: 更新 reviewer

* fix: 修复pivot模式 cell点击事件无法触发BUG (#1623)

fix: 修复pivot-table cell事件无法触发BUG

* chore: 发布成功后自动部署官网 (#1649)

* fix(layout): 修复 treeRowsWidth 配置不生效 close #1622 (#1646)

* fix(layout): 修复 treeRowsWidth 配置不生效 close #1622

* test: 修复测试

* chore: 🤖 更新 lock 和 changelog 文件 (#1650)

* fix: 修复选中态的描边宽度样式问题 (#1654)

* fix: 链接字段高亮下划线过长 (#1652)

* refactor: measureTextWidth移动为spreadsheet实例方法

* test: 调整 text 测试用例

* feat: 明细表行头单元格支持拖拽 (#1655)

* feat: 明细表行头单元格支持拖拽

* feat: 明细表行头单元格支持拖拽

* test: 添加单测

* fix(interaction): 优化resetSheetStyle性能 (#1653)

* fix: 优化reset性能

* fix: icon draw

* docs: 官网文档优化 (#1661)

* fix(scroll): 修复滚动边界判断错误导致无法滚动 (#1664)

Co-authored-by: 卿珂 <[email protected]>

* chore: update the reviewers (#1673)

* fix(resize): 修复总计列存在子节点时无法调整宽度 (#1675)

* fix: 修复明细表 onRaneSort 失效问题 (#1678)

* docs: 修改排序API文档 (#1677)

* refactor: 重构多指标绘制文本布局逻辑

* feat: 趋势分析表支持icon字段标记

Co-authored-by: stone <[email protected]>
Co-authored-by: zishang <[email protected]>
Co-authored-by: Jinke Li <[email protected]>
Co-authored-by: Wenjun Xu <[email protected]>
Co-authored-by: serializedowen <[email protected]>
Co-authored-by: owen.wjh <[email protected]>
Co-authored-by: 刘嘉一 <[email protected]>
Co-authored-by: YardWill <[email protected]>
Co-authored-by: xiaochong44 <[email protected]>
Co-authored-by: 卿珂 <[email protected]>
@lijinke666
Copy link
Member

🎉 This issue has been resolved in version @antv/s2-v1.26.0-alpha.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Member

🎉 This issue has been resolved in version @antv/s2-react-v1.24.0-alpha.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Member

🎉 This issue has been resolved in version @antv/s2-vue-v1.3.0-alpha.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Member

🎉 This issue has been resolved in version @antv/s2-v1.28.0-alpha.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Member

🎉 This issue has been resolved in version @antv/s2-react-v1.25.0-alpha.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Member

🎉 This issue has been resolved in version @antv/s2-v1.30.0-alpha.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@X-x-start
Copy link
Author

X-x-start commented Sep 14, 2022 via email

@lijinke666
Copy link
Member

🎉 This issue has been resolved in version @antv/s2-react-v1.27.0-alpha.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Member

🎉 This issue has been resolved in version @antv/s2-vue-v1.4.0-alpha.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Member

🎉 This issue has been resolved in version @antv/s2-v1.31.0-alpha.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Member

🎉 This issue has been resolved in version @antv/s2-react-v1.28.0-alpha.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Member

🎉 This issue has been resolved in version @antv/s2-v1.33.0-alpha.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@X-x-start
Copy link
Author

X-x-start commented Oct 27, 2022 via email

@lijinke666
Copy link
Member

🎉 This issue has been resolved in version @antv/s2-react-v1.30.0-alpha.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Member

🎉 This issue has been resolved in version @antv/s2-v1.37.0-alpha.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Member

🎉 This issue has been resolved in version @antv/s2-react-v1.34.0-alpha.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Member

🎉 This issue has been resolved in version @antv/s2-vue-v1.5.0-alpha.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Member

🎉 This issue has been resolved in version @antv/s2-v1.40.0-alpha.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Member

🎉 This issue has been resolved in version @antv/s2-react-v1.35.0-alpha.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@lijinke666
Copy link
Member

🎉 This issue has been resolved in version @antv/s2-vue-v1.6.0-alpha.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

wjgogogo pushed a commit that referenced this issue Oct 25, 2023
* fix(layout): 修复 treeRowsWidth 配置不生效 close #1622

* test: 修复测试
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug 这个是一个 bug released on @alpha released s2-core Core 层 问题 s2-react React 组件层问题
Projects
None yet
Development

No branches or pull requests

2 participants