agregar console.logs para revisar cuando se actualizan las opciones de filtros
This commit is contained in:
parent
2daff4b9c6
commit
a293bf4b00
@ -340,6 +340,7 @@ var PivotTableUI = function (_React$PureComponent2) {
|
||||
maxZIndex: 1000,
|
||||
openDropdown: false,
|
||||
attrValues: {},
|
||||
attrValuesReduced: {},
|
||||
materializedInput: [],
|
||||
hideConfiguration: false,
|
||||
headerClass: '',
|
||||
@ -357,6 +358,8 @@ var PivotTableUI = function (_React$PureComponent2) {
|
||||
key: 'componentDidUpdate',
|
||||
value: function componentDidUpdate() {
|
||||
console.log(' componentDidUpdate ');
|
||||
var pivotData = new _Utilities.PivotData(this.props);
|
||||
console.log(' componentDidUpdate pivotData ', pivotData);
|
||||
this.materializeInput(this.props.data);
|
||||
}
|
||||
}, {
|
||||
@ -415,6 +418,7 @@ var PivotTableUI = function (_React$PureComponent2) {
|
||||
});
|
||||
console.log(' newState materializedInput ', newState.materializedInput);
|
||||
console.log(' newState derivedAttributes ', this.props.derivedAttributes);
|
||||
console.log(' newState attrValues ', newState.attrValues);
|
||||
this.setState(newState);
|
||||
}
|
||||
}, {
|
||||
|
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "v-react-pivottable",
|
||||
"version": "0.11.34",
|
||||
"version": "0.11.35",
|
||||
"description": "A React-based pivot table",
|
||||
"main": "PivotTableUI.js",
|
||||
"files": [
|
||||
|
Loading…
Reference in New Issue
Block a user