agregar console.logs para revisar cuando se actualizan las opciones de filtros

This commit is contained in:
dehernandezm 2025-02-05 16:14:31 -06:00
parent 2bfb927ddc
commit 2daff4b9c6
5 changed files with 8 additions and 5 deletions

View File

@ -413,6 +413,8 @@ var PivotTableUI = function (_React$PureComponent2) {
} }
recordsProcessed++; recordsProcessed++;
}); });
console.log(' newState materializedInput ', newState.materializedInput);
console.log(' newState derivedAttributes ', this.props.derivedAttributes);
this.setState(newState); this.setState(newState);
} }
}, { }, {

File diff suppressed because one or more lines are too long

View File

@ -86,10 +86,13 @@ function makeRenderer() {
var _this2 = this; var _this2 = this;
var pivotData = new _Utilities.PivotData(this.props); var pivotData = new _Utilities.PivotData(this.props);
console.log(' TableRenderer pivotData ', pivotData);
var colAttrs = pivotData.props.cols; var colAttrs = pivotData.props.cols;
var rowAttrs = pivotData.props.rows; var rowAttrs = pivotData.props.rows;
var rowKeys = pivotData.getRowKeys(); var rowKeys = pivotData.getRowKeys();
console.log(' TableRenderer rowKeys ', rowKeys);
var colKeys = pivotData.getColKeys(); var colKeys = pivotData.getColKeys();
console.log(' TableRenderer colKeys ', colKeys);
var grandTotalAggregator = pivotData.getAggregator([], []); var grandTotalAggregator = pivotData.getAggregator([], []);
var getStylesHeaders = function getStylesHeaders() { var getStylesHeaders = function getStylesHeaders() {
@ -384,8 +387,6 @@ function makeRenderer() {
); );
}), }),
colKeys.map(function (colKey, j) { colKeys.map(function (colKey, j) {
console.log(' rowKey ', rowKey);
console.log(' colKey ', colKey);
var aggregator = pivotData.getAggregator(rowKey, colKey); var aggregator = pivotData.getAggregator(rowKey, colKey);
return _react2.default.createElement( return _react2.default.createElement(
'td', 'td',

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{ {
"name": "v-react-pivottable", "name": "v-react-pivottable",
"version": "0.11.33", "version": "0.11.34",
"description": "A React-based pivot table", "description": "A React-based pivot table",
"main": "PivotTableUI.js", "main": "PivotTableUI.js",
"files": [ "files": [