Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
web-apps
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
web-apps
Commits
3612a758
Commit
3612a758
authored
Dec 14, 2016
by
Alexander.Trofimov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asc_setSheetViewSettings -> asc_setDisplayGridlines + asc_setDisplayHeadings
parent
d5df1f43
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
apps/spreadsheeteditor/main/app/controller/Toolbar.js
apps/spreadsheeteditor/main/app/controller/Toolbar.js
+2
-6
No files found.
apps/spreadsheeteditor/main/app/controller/Toolbar.js
View file @
3612a758
...
...
@@ -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
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment