S2 icon indicating copy to clipboard operation
S2 copied to clipboard

🤔如何自定义修改具体某一行的数据的样式

Open Cref-t opened this issue 3 years ago • 4 comments

🏷 Version

Package Version
@antv/s2 1.45
@antv/s2-react 1.39
@antv/s2-vue

Sheet Type

  • [ ] PivotSheet
  • [ ] TableSheet
  • [ ] GridAnalysisSheet
  • [ ] StrategySheet
  • [ ] EditableSheet

🖋 Description

如下图所示在交叉表中,我想单独修改LTI合计金额这单独一行的样式,现有配置可以支持吗? image

🔗 Reproduce Link

😊 Expected Behavior

😅 Current Behavior

Cref-t avatar May 11 '23 08:05 Cref-t

目前仅支持自定义单元格

serializedowen avatar May 15 '23 08:05 serializedowen

可以参考:https://github.com/antvis/S2/issues/1227

wjgogogo avatar May 15 '23 08:05 wjgogogo

可以参考:#1227

rowCell只能修改行头的样式,dataCell的话,我加上这个方法,页面就报错也不知道是什么原因

Cref-t avatar May 15 '23 08:05 Cref-t

https://s2.antv.antgroup.com/examples/custom/custom-cell/#custom-specified-cell

lijinke666 avatar May 15 '23 08:05 lijinke666