You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, @dyllike3892654, We are so sorry for the bad experience. We will troubleshoot and fix the problem as soon as possible. Please pay attention to the follow-up change logs.
🏷 Version
Sheet Type
使用的react中的透视表 SheetComponent 组件
🖋 Description
我使用的是 @antv/s2-react 中的 SheetComponent 组件 ,给 表格 的 s2Options增加 配置 icon,使单元格的数据前增加一个icon图标,代码如下:
conditions: {
icon: [
// 配置数据单元格
{
field: 'number',
position: 'left',
mapping() {
return {
icon: 'CellUp',
fill: '#2498D1',
};
},
},
],
},
出现的问题是:当我点击单元格的时候可以获取到数据,但是当我单击到图标上时就会显示 undefined ;
使用 headerActionIcons 这个属性只能在角头、列头、行头显示
想达到的效果是:点击图标能获取当前行的数据
🔗 Reproduce Link
😊 Expected Behavior
😅 Current Behavior
The text was updated successfully, but these errors were encountered: