有办法在列头文字前面加上自定义icon么,不需要有action的能力,纯粹是展示 #1845
Replies: 3 comments
-
后面可以考虑 目前可以自定义列头, 把文字的坐标往前移, 预留 一个 icon 的位置, 然后通过 需要查看下源码, 参考内置 icon 绘制的方式 S2/packages/s2-core/src/cell/header-cell.ts Line 232 in 80cbf20 S2/packages/s2-core/src/cell/header-cell.ts Line 183 in 80cbf20 |
Beta Was this translation helpful? Give feedback.
0 replies
-
我发现renderIcon 这函数可以满足我的需求。感谢 |
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
-
有办法在列头文字前面加上自定义icon么,不需要有action的能力,纯粹是展示
Beta Was this translation helpful? Give feedback.
All reactions