-
Notifications
You must be signed in to change notification settings - Fork 196
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
🐛 #1355
Labels
📃 documentation
文档相关改动
Comments
你要找的是不是 (You may look for issues):
|
不好意思, 这里是文档写错了, 只要配置了 const dataCfg = {
fields: {
...
values: ['A']
}
}
const hideMeasureColumn = dataCfg.fields.values.length === 1
const s2Options = {
style: {
colCfg: {
hideMeasureColumn,
},
},
} |
This was referenced May 26, 2022
Closed
This was referenced Jun 6, 2022
Closed
Open
Closed
This was referenced Jun 22, 2022
This was referenced Jul 4, 2022
Closed
Closed
This was referenced Jul 12, 2022
Closed
This was referenced Jul 20, 2022
Closed
Closed
This was referenced Jul 29, 2022
Closed
This was referenced Aug 9, 2022
Closed
Closed
This was referenced Aug 26, 2022
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🏷 Version
🖋 Description
hideMeasureColumn 为true的配置,数值多列时同样生效,且只展示一列数值
⌨️ Code Snapshots
s2Options = {
"height": 400,
"width": 600,
"tooltip": {
"operation": {
"hiddenColumns": false
}
},
"style": {
"colCfg": {
"hideMeasureColumn": true
}
},
"headerActionIcons": [],
"hierarchyType": "tree",
"totals": {
"row": {
"showSubTotals": true,
"reverseSubLayout": false,
"subTotalsDimensions": [
"a7f33e01",
"a98df03f",
"a5671b5b"
],
"calcSubTotals": {
"aggregation": "SUM"
}
}
}
}
🔗 Reproduce Link
🤔 Steps to Reproduce
😊 Expected Behavior
😅 Current Behavior
💻 System information
chrome: v99.0, mac
The text was updated successfully, but these errors were encountered: