Commit 908d2d62 authored by Sergey Konovalov's avatar Sergey Konovalov

add Cell.clearConditionalFormattingStyle

parent 4ce7ef17
......@@ -5427,10 +5427,11 @@
History.Add(AscCommonExcel.g_oUndoRedoCell, AscCH.historyitem_Cell_SetPivotButton, this.ws.getId(), new Asc.Range(this.nCol, this.nRow, this.nCol, this.nRow), new UndoRedoData_CellSimpleData(this.nRow, this.nCol, oRes.oldVal, oRes.newVal));
this.oValue.cleanCache();
};
Cell.prototype.clearConditionalFormattingStyle=function(){
this.ws.sheetMergedStyles.clearConditionalStyle(this.nRow, this.nCol);
};
Cell.prototype.setConditionalFormattingStyle=function(xfs){
if (null == xfs) {
this.ws.sheetMergedStyles.clearConditionalStyle(this.nRow, this.nCol);
} else {
if (xfs) {
this.ws.sheetMergedStyles.setConditionalStyle(this.nRow, this.nCol, xfs);
}
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment