如何隐藏默认空数据 #2595
如何隐藏默认空数据
#2595
Replies: 1 comment
-
透视表默认会有一个占位骨架, 可以自行动态处理下 https://s2.antv.antgroup.com/manual/advanced/custom/cell-size#%E8%B0%83%E6%95%B4%E8%A1%8C%E5%A4%B4%E5%8D%95%E5%85%83%E6%A0%BC%E5%AE%BD%E9%AB%98 const s2Options = {
style: {
rowCell: {
height(node) {
return !node?.value ? 0 : 100;
},
}
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
如果传入数据为空,会默认渲染一行空数据,如何去掉这个默认空数据?
Beta Was this translation helpful? Give feedback.
All reactions