sea-chart 0.0.68-alpha.2 → 0.0.68-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -252,7 +252,7 @@ class TwoDimensionTable extends PureComponent {
|
|
|
252
252
|
key: "table-cell-".concat(cellIdx)
|
|
253
253
|
}, /*#__PURE__*/React.createElement("div", {
|
|
254
254
|
className: classnames('pivot-cells-container')
|
|
255
|
-
}, isCalculateByView && (total && total.map && total.map((summaryCell, idx) => {
|
|
255
|
+
}, !isCalculateByView && (total && total.map && total.map((summaryCell, idx) => {
|
|
256
256
|
const summaryCellColumnKey = summaryCell[2];
|
|
257
257
|
const summaryCellColumn = summaryColumns.find(item => item.key === summaryCellColumnKey);
|
|
258
258
|
const displayValue = BaseUtils.getSummaryValueDisplayString(summaryCellColumn, summaryCell[1], summaryMethod);
|
|
@@ -277,7 +277,7 @@ class TwoDimensionTable extends PureComponent {
|
|
|
277
277
|
'pivot-empty-cell': true
|
|
278
278
|
})
|
|
279
279
|
}, /*#__PURE__*/React.createElement("i", null));
|
|
280
|
-
}))),
|
|
280
|
+
}))), isCalculateByView && this.renderByView(total, display_empty, cellIdx, isSelectedCell, isSelectedCellTop, isSelectedCellLeft)));
|
|
281
281
|
}), display_total && /*#__PURE__*/React.createElement("td", {
|
|
282
282
|
className: classnames('pivot-cell', {
|
|
283
283
|
'pivot-empty-cell': !isValidSummaryDisplayValue,
|