S2
S2 copied to clipboard
🤔如何自定义修改具体某一行的数据的样式
🏷 Version
| Package | Version |
|---|---|
| @antv/s2 | 1.45 |
| @antv/s2-react | 1.39 |
| @antv/s2-vue |
Sheet Type
- [ ] PivotSheet
- [ ] TableSheet
- [ ] GridAnalysisSheet
- [ ] StrategySheet
- [ ] EditableSheet
🖋 Description
如下图所示在交叉表中,我想单独修改LTI合计金额这单独一行的样式,现有配置可以支持吗?
🔗 Reproduce Link
😊 Expected Behavior
😅 Current Behavior
目前仅支持自定义单元格
可以参考:https://github.com/antvis/S2/issues/1227
可以参考:#1227
rowCell只能修改行头的样式,dataCell的话,我加上这个方法,页面就报错也不知道是什么原因
https://s2.antv.antgroup.com/examples/custom/custom-cell/#custom-specified-cell