We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@antv/s2 1.44.0
-->
PivotSheet TableSheet
interaction.selectedCellHighlight:true 不生效
import { PivotSheet, S2Options } from '@antv/s2';
fetch( 'https://gw.alipayobjects.com/os/bmw-prod/2a5dbbc8-d0a7-4d02-b7c9-34f6ca63cff6.json', ) .then((res) => res.json()) .then((dataCfg) => { const container = document.getElementById('container');
const s2Options: S2Options = { width: 600, height: 480, interaction: { // 悬停高亮 hoverHighlight: true, selectedCellHighlight: true // 这一行 }, tooltip: { showTooltip: true, }, }; const s2 = new PivotSheet(container, dataCfg, s2Options); s2.render();
});
行列联动高亮 官方实例上添加selectedCellHighlight: true 点击后未出现整行整列高亮
所在单元格行列应高亮
没有执行高亮
The text was updated successfully, but these errors were encountered:
selectedCellHighlight: true // 等价于 selectedCellHighlight: { rowHeader: true, // 高亮行头 colHeader: true, // 高亮列头 currentRow: false, // 高亮选中单元格所在行 currentCol: false, // 高亮选中单元格所在列 } //如果想要高亮行列,应当手动设置下一级的属性 selectedCellHighlight: { rowHeader: false, // 高亮行头 colHeader: false, // 高亮列头 currentRow: true, // 高亮选中单元格所在行 currentCol: true, // 高亮选中单元格所在列 }
文档 中的属性不对
同时目前是无法高亮行列头,确实存在其它问题
Sorry, something went wrong.
🎉 This issue has been resolved in version @antv/s2-v1.48.0 🎉
The release is available on:
Your semantic-release bot 📦🚀
Successfully merging a pull request may close this issue.
🏷 Version
@antv/s2 1.44.0
-->
Sheet Type
PivotSheet
TableSheet
🖋 Description
interaction.selectedCellHighlight:true 不生效
⌨️ Code Snapshots
import { PivotSheet, S2Options } from '@antv/s2';
fetch(
'https://gw.alipayobjects.com/os/bmw-prod/2a5dbbc8-d0a7-4d02-b7c9-34f6ca63cff6.json',
)
.then((res) => res.json())
.then((dataCfg) => {
const container = document.getElementById('container');
});
🔗 Reproduce Link
🤔 Steps to Reproduce
行列联动高亮 官方实例上添加selectedCellHighlight: true 点击后未出现整行整列高亮
😊 Expected Behavior
所在单元格行列应高亮
😅 Current Behavior
没有执行高亮
💻 System information
The text was updated successfully, but these errors were encountered: