Commit 9f5117d5 authored by Alexander.Trofimov's avatar Alexander.Trofimov

add setCellFormat method in workbookView

parent 68926f2d
......@@ -2770,7 +2770,7 @@ var editor;
};
spreadsheet_api.prototype.asc_setCellFormat = function(format) {
this.wb.getWorksheet().setSelectionInfo("format", format);
this.wb.setCellFormat(format);
this.wb.restoreFocus();
};
......
......@@ -2097,6 +2097,10 @@
}
};
WorkbookView.prototype.setCellFormat = function (format) {
this.getWorksheet().setSelectionInfo("format", format);
};
WorkbookView.prototype.emptyCells = function(options) {
if (!this.getCellEditMode()) {
this.getWorksheet().emptySelection(options);
......
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