mirror of
https://github.com/dataease/dataease.git
synced 2026-05-17 06:50:45 +08:00
@@ -183,7 +183,8 @@ export class TableInfo extends S2ChartView<TableSheet> {
|
||||
hoverHighlight: !(basicStyle.showHoverStyle === false),
|
||||
scrollbarPosition: newData.length
|
||||
? ScrollbarPositionType.CONTENT
|
||||
: ScrollbarPositionType.CANVAS
|
||||
: ScrollbarPositionType.CANVAS,
|
||||
hoverFocus: false
|
||||
}
|
||||
}
|
||||
s2Options.style = this.configStyle(chart, s2DataConfig)
|
||||
|
||||
@@ -179,7 +179,8 @@ export class TableNormal extends S2ChartView<TableSheet> {
|
||||
hoverHighlight: !(basicStyle.showHoverStyle === false),
|
||||
scrollbarPosition: newData.length
|
||||
? ScrollbarPositionType.CONTENT
|
||||
: ScrollbarPositionType.CANVAS
|
||||
: ScrollbarPositionType.CANVAS,
|
||||
hoverFocus: false
|
||||
}
|
||||
}
|
||||
// 列宽设置
|
||||
|
||||
@@ -255,7 +255,8 @@ export class TablePivot extends S2ChartView<PivotSheet> {
|
||||
hierarchyType: basicStyle.tableLayoutMode ?? 'grid',
|
||||
dataSet: spreadSheet => new CustomPivotDataset(spreadSheet),
|
||||
interaction: {
|
||||
hoverHighlight: !(basicStyle.showHoverStyle === false)
|
||||
hoverHighlight: !(basicStyle.showHoverStyle === false),
|
||||
hoverFocus: false
|
||||
},
|
||||
dataCell: meta => {
|
||||
return new CustomDataCell(meta, meta.spreadsheet)
|
||||
|
||||
Reference in New Issue
Block a user