agregar console.logs para revisar cuando se actualizan las opciones de filtros
This commit is contained in:
parent
2bfb927ddc
commit
2daff4b9c6
@ -413,6 +413,8 @@ var PivotTableUI = function (_React$PureComponent2) {
|
||||
}
|
||||
recordsProcessed++;
|
||||
});
|
||||
console.log(' newState materializedInput ', newState.materializedInput);
|
||||
console.log(' newState derivedAttributes ', this.props.derivedAttributes);
|
||||
this.setState(newState);
|
||||
}
|
||||
}, {
|
||||
|
File diff suppressed because one or more lines are too long
@ -86,10 +86,13 @@ function makeRenderer() {
|
||||
var _this2 = this;
|
||||
|
||||
var pivotData = new _Utilities.PivotData(this.props);
|
||||
console.log(' TableRenderer pivotData ', pivotData);
|
||||
var colAttrs = pivotData.props.cols;
|
||||
var rowAttrs = pivotData.props.rows;
|
||||
var rowKeys = pivotData.getRowKeys();
|
||||
console.log(' TableRenderer rowKeys ', rowKeys);
|
||||
var colKeys = pivotData.getColKeys();
|
||||
console.log(' TableRenderer colKeys ', colKeys);
|
||||
var grandTotalAggregator = pivotData.getAggregator([], []);
|
||||
|
||||
var getStylesHeaders = function getStylesHeaders() {
|
||||
@ -384,8 +387,6 @@ function makeRenderer() {
|
||||
);
|
||||
}),
|
||||
colKeys.map(function (colKey, j) {
|
||||
console.log(' rowKey ', rowKey);
|
||||
console.log(' colKey ', colKey);
|
||||
var aggregator = pivotData.getAggregator(rowKey, colKey);
|
||||
return _react2.default.createElement(
|
||||
'td',
|
||||
|
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "v-react-pivottable",
|
||||
"version": "0.11.33",
|
||||
"version": "0.11.34",
|
||||
"description": "A React-based pivot table",
|
||||
"main": "PivotTableUI.js",
|
||||
"files": [
|
||||
|
Loading…
Reference in New Issue
Block a user