8000 🐛树状透视表仅展示最细层级的row数值 · Issue #1900 · antvis/S2 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
🐛树状透视表仅展示最细层级的row数值 #1900
Closed
@meyergin

Description

@meyergin

🏷 Version

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

Sheet Type

  • PivotSheet
  • TableSheet
  • GridAnalysisSheet
  • StrategySheet

🖋 Description

从1.24.0 升级到 1.33.1后,树状透视表仅展示最细层级的row数值
示例:

data:[
{'l1':'a', 'l2':'a2', 'value':0.1},
{'l1':'b', 'l2':'b2', 'value':0.2},
{'l1':'b', 'value':0.2},
]


config:

rows: ['l1','l2']
values:['value']

第三行l1 对应的单元格无法显示数值
如果rows 传入l1, l2, l3, 则只能显示这三个key都存在的row,如果只有'l1'或者 ('l1' & 'l2') 的key,row单元格的数值无法显示

问题图:
image
之前的正常结果:
image

⌨️ Code Snapshots

🔗 Reproduce Link

🤔 Steps to Reproduce

😊 Expected Behavior

😅 Current Behavior

💻 System information

Metadata

Metadata

Assignees

Labels

💤 inactive不活跃的 Issue 或 PR, 30天没有回复

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0