mirror of
https://github.com/apache/superset.git
synced 2026-04-20 08:34:37 +00:00
fix: Further drill by in Pivot Table (#23692)
This commit is contained in:
committed by
GitHub
parent
d66e6e6d40
commit
da5f7155c6
@@ -398,11 +398,10 @@ export class TableRenderer extends React.Component {
|
||||
const colSpan = attrIdx < colKey.length ? colAttrSpans[i][attrIdx] : 1;
|
||||
let colLabelClass = 'pvtColLabel';
|
||||
if (attrIdx < colKey.length) {
|
||||
if (
|
||||
highlightHeaderCellsOnHover &&
|
||||
!omittedHighlightHeaderGroups.includes(colAttrs[attrIdx])
|
||||
) {
|
||||
colLabelClass += ' hoverable';
|
||||
if (!omittedHighlightHeaderGroups.includes(colAttrs[attrIdx])) {
|
||||
if (highlightHeaderCellsOnHover) {
|
||||
colLabelClass += ' hoverable';
|
||||
}
|
||||
handleContextMenu = e =>
|
||||
this.props.onContextMenu(e, colKey, undefined, {
|
||||
[attrName]: colKey[attrIdx],
|
||||
@@ -598,11 +597,10 @@ export class TableRenderer extends React.Component {
|
||||
const attrValueCells = rowKey.map((r, i) => {
|
||||
let handleContextMenu;
|
||||
let valueCellClassName = 'pvtRowLabel';
|
||||
if (
|
||||
highlightHeaderCellsOnHover &&
|
||||
!omittedHighlightHeaderGroups.includes(rowAttrs[i])
|
||||
) {
|
||||
valueCellClassName += ' hoverable';
|
||||
if (!omittedHighlightHeaderGroups.includes(rowAttrs[i])) {
|
||||
if (highlightHeaderCellsOnHover) {
|
||||
valueCellClassName += ' hoverable';
|
||||
}
|
||||
handleContextMenu = e =>
|
||||
this.props.onContextMenu(e, undefined, rowKey, {
|
||||
[rowAttrs[i]]: r,
|
||||
|
||||
Reference in New Issue
Block a user