You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, @KzqKzq, 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.
🏷 Version
Sheet Type
🖋 Description
⌨️ Code Snapshots
使用官网的例子https://s2.antv.antgroup.com/examples/layout/custom#custom-table-size 可以进行复现
精简下代码
拖动列宽后,所有字段的宽度都发生了变化
使用s2 v1.x 版本
拖动列宽后,只有拖动的字段宽度发生了变化
补充:后面查官方文档和代码,发现next版本加了一个新的配置 colResizeType
尝试在上面的例子里面加上该配置发现
在设置 colResizeType 为all时,是对所有单元格生效,此时所有列宽度发生变化是符合预期的
在设置 colResizeType 为 current 或者 selected 时,第一次拖住列宽是对所有单元格生效,之后继续拖动才会对该列生效是不符合预期的,预期结果是第一次拖住列宽是对该列生效
🔗 Reproduce Link
🤔 Steps to Reproduce
😊 Expected Behavior
希望在自定义了列宽之后,拖动列宽只有对应的列发生变化
😅 Current Behavior
💻 System information
The text was updated successfully, but these errors were encountered: