fix(图表): 修复汇总表序列号斑马纹无效 (#15332)

This commit is contained in:
wisonic-s
2025-03-12 20:45:48 +08:00
committed by GitHub
parent c3b95304b7
commit 6438399f33

View File

@@ -16,6 +16,7 @@ import {
S2Options,
ScrollbarPositionType,
TableColCell,
TableDataCell,
TableSheet,
ViewMeta
} from '@antv/s2'
@@ -172,6 +173,9 @@ export class TableNormal extends S2ChartView<TableSheet> {
col.value = indexLabel
}
}
s2Options.dataCell = meta => {
return new TableDataCell(meta, meta.spreadsheet)
}
}
// tooltip
this.configTooltip(chart, s2Options)