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,
|
maxZIndex: 1000,
|
||||||
openDropdown: false,
|
openDropdown: false,
|
||||||
attrValues: {},
|
attrValues: {},
|
||||||
|
attrValuesReduced: {},
|
||||||
materializedInput: [],
|
materializedInput: [],
|
||||||
hideConfiguration: false,
|
hideConfiguration: false,
|
||||||
headerClass: '',
|
headerClass: '',
|
||||||
@ -357,6 +358,8 @@ var PivotTableUI = function (_React$PureComponent2) {
|
|||||||
key: 'componentDidUpdate',
|
key: 'componentDidUpdate',
|
||||||
value: function componentDidUpdate() {
|
value: function componentDidUpdate() {
|
||||||
console.log(' componentDidUpdate ');
|
console.log(' componentDidUpdate ');
|
||||||
|
var pivotData = new _Utilities.PivotData(this.props);
|
||||||
|
console.log(' componentDidUpdate pivotData ', pivotData);
|
||||||
this.materializeInput(this.props.data);
|
this.materializeInput(this.props.data);
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
@ -415,6 +418,7 @@ var PivotTableUI = function (_React$PureComponent2) {
|
|||||||
});
|
});
|
||||||
console.log(' newState materializedInput ', newState.materializedInput);
|
console.log(' newState materializedInput ', newState.materializedInput);
|
||||||
console.log(' newState derivedAttributes ', this.props.derivedAttributes);
|
console.log(' newState derivedAttributes ', this.props.derivedAttributes);
|
||||||
|
console.log(' newState attrValues ', newState.attrValues);
|
||||||
this.setState(newState);
|
this.setState(newState);
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
|
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "v-react-pivottable",
|
"name": "v-react-pivottable",
|
||||||
"version": "0.11.34",
|
"version": "0.11.35",
|
||||||
"description": "A React-based pivot table",
|
"description": "A React-based pivot table",
|
||||||
"main": "PivotTableUI.js",
|
"main": "PivotTableUI.js",
|
||||||
"files": [
|
"files": [
|
||||||
|
Loading…
Reference in New Issue
Block a user