fix set options style info for pivot table
This commit is contained in:
parent
653f384408
commit
d039ab34ab
|
@ -159,26 +159,26 @@ define([
|
||||||
}
|
}
|
||||||
|
|
||||||
value = styleInfo.asc_getShowColHeaders();
|
value = styleInfo.asc_getShowColHeaders();
|
||||||
if (this._state.RowBanded!==value) {
|
|
||||||
view.chRowBanded.setValue(value, true);
|
|
||||||
this._state.RowBanded=value;
|
|
||||||
needTablePictures = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
value = styleInfo.asc_getShowColStripes();
|
|
||||||
if (this._state.ColHeader!==value) {
|
if (this._state.ColHeader!==value) {
|
||||||
view.chColHeader.setValue(value, true);
|
view.chColHeader.setValue(value, true);
|
||||||
this._state.ColHeader=value;
|
this._state.ColHeader=value;
|
||||||
needTablePictures = true;
|
needTablePictures = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
value = styleInfo.asc_getShowRowStripes();
|
value = styleInfo.asc_getShowColStripes();
|
||||||
if (this._state.ColBanded!==value) {
|
if (this._state.ColBanded!==value) {
|
||||||
view.chColBanded.setValue(value, true);
|
view.chColBanded.setValue(value, true);
|
||||||
this._state.ColBanded=value;
|
this._state.ColBanded=value;
|
||||||
needTablePictures = true;
|
needTablePictures = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
value = styleInfo.asc_getShowRowStripes();
|
||||||
|
if (this._state.RowBanded!==value) {
|
||||||
|
view.chRowBanded.setValue(value, true);
|
||||||
|
this._state.RowBanded=value;
|
||||||
|
needTablePictures = true;
|
||||||
|
}
|
||||||
|
|
||||||
if (needTablePictures)
|
if (needTablePictures)
|
||||||
// this.onApiInitPivotStyles(this.api.asc_getTablePictures(styleInfo, true));
|
// this.onApiInitPivotStyles(this.api.asc_getTablePictures(styleInfo, true));
|
||||||
this.onApiInitPivotStyles(this.api.asc_getTablePictures(null, true));
|
this.onApiInitPivotStyles(this.api.asc_getTablePictures(null, true));
|
||||||
|
|
Loading…
Reference in a new issue