Commit 3612a758 authored by Alexander.Trofimov's avatar Alexander.Trofimov

asc_setSheetViewSettings -> asc_setDisplayGridlines + asc_setDisplayHeadings

parent d5df1f43
......@@ -2009,17 +2009,13 @@ define([
if (!_.isUndefined(opts.headings)) {
if (this.api) {
var current = this.api.asc_getSheetViewSettings();
current.asc_setShowRowColHeaders(!opts.headings);
this.api.asc_setSheetViewSettings(current);
this.api.asc_setDisplayHeadings(!opts.headings);
}
}
if (!_.isUndefined(opts.gridlines)) {
if (this.api) {
current = this.api.asc_getSheetViewSettings();
current.asc_setShowGridLines(!opts.gridlines);
this.api.asc_setSheetViewSettings(current);
this.api.asc_setDisplayGridlines(!opts.gridlines);
}
}
......
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