We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
如下图所示:
The text was updated successfully, but these errors were encountered:
行头是否支持 省份和城市的单元格合并呢?(如北京市这一行,两个北京市就显得冗余了)
怎么展示完全取决你的数据, 对于这种直辖市, 省份建议处理成 "北京/天津" 而不是 "北京市/天津市"
如果同个省份下面只有一条数据,小计这一行是否可以作为配置项隐藏掉呢?
可以通过 layoutHierarchy 自定义层级结构
const s2Options = { layoutHierarchy: (s2, node) => { // 是小计, 并且只有一个子节点, 就移除自己 if (node.isSubTotals && node.parent.children.length === 1) { return { push: [], unshift: [], delete: true, }; } return null; }, }
Sorry, something went wrong.
No branches or pull requests
🏷 Version
🖋 Description
如下图所示:
The text was updated successfully, but these errors were encountered: