Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sdkjs
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
sdkjs
Commits
036989fd
Commit
036989fd
authored
May 31, 2017
by
Alexey.Musinov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
up
parent
d6f2b100
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
8 deletions
+15
-8
cell/native/native.js
cell/native/native.js
+15
-8
No files found.
cell/native/native.js
View file @
036989fd
...
@@ -7012,7 +7012,7 @@ window["native"]["offline_apply_event"] = function(type,params) {
...
@@ -7012,7 +7012,7 @@ window["native"]["offline_apply_event"] = function(type,params) {
{
{
var
isLines
=
_api
.
asc_getSheetViewSettings
();
var
isLines
=
_api
.
asc_getSheetViewSettings
();
isLines
.
asc_setShowGridLines
(
params
[
_current
.
pos
++
]);
isLines
.
asc_setShowGridLines
(
params
[
_current
.
pos
++
]);
_api
.
asc_set
SheetViewSettings
(
is
Lines
);
_api
.
asc_set
DisplayGridlines
(
isLines
.
showGrid
Lines
);
_s
.
asc_WriteAllWorksheets
(
true
);
_s
.
asc_WriteAllWorksheets
(
true
);
break
;
break
;
}
}
...
@@ -7021,7 +7021,7 @@ window["native"]["offline_apply_event"] = function(type,params) {
...
@@ -7021,7 +7021,7 @@ window["native"]["offline_apply_event"] = function(type,params) {
{
{
var
isHeaders
=
_api
.
asc_getSheetViewSettings
();
var
isHeaders
=
_api
.
asc_getSheetViewSettings
();
isHeaders
.
asc_setShowRowColHeaders
(
params
[
_current
.
pos
++
]);
isHeaders
.
asc_setShowRowColHeaders
(
params
[
_current
.
pos
++
]);
_api
.
asc_set
SheetViewSettings
(
is
Headers
);
_api
.
asc_set
DisplayHeadings
(
isHeaders
.
showRowCol
Headers
);
_s
.
asc_WriteAllWorksheets
(
true
);
_s
.
asc_WriteAllWorksheets
(
true
);
break
;
break
;
}
}
...
@@ -7089,16 +7089,12 @@ window["native"]["offline_apply_event"] = function(type,params) {
...
@@ -7089,16 +7089,12 @@ window["native"]["offline_apply_event"] = function(type,params) {
}
}
case
2205
:
// ASC_SPREADSHEETS_EVENT_TYPE_WORKSHEET_SHOW_LINES
case
2205
:
// ASC_SPREADSHEETS_EVENT_TYPE_WORKSHEET_SHOW_LINES
{
{
var
gridLines
=
_api
.
asc_getSheetViewSettings
();
_api
.
asc_setDisplayGridlines
(
params
>
0
);
gridLines
.
asc_setShowGridLines
(
params
>
0
);
_api
.
asc_setSheetViewSettings
(
gridLines
);
break
;
break
;
}
}
case
2210
:
// ASC_SPREADSHEETS_EVENT_TYPE_WORKSHEET_SHOW_HEADINGS
case
2210
:
// ASC_SPREADSHEETS_EVENT_TYPE_WORKSHEET_SHOW_HEADINGS
{
{
var
colRowHeaders
=
_api
.
asc_getSheetViewSettings
();
_api
.
asc_setDisplayHeadings
(
params
>
0
);
colRowHeaders
.
asc_setShowRowColHeaders
(
params
>
0
);
_api
.
asc_setSheetViewSettings
(
colRowHeaders
);
break
;
break
;
}
}
case
2215
:
// ASC_SPREADSHEETS_EVENT_TYPE_SET_PAGE_OPTIONS
case
2215
:
// ASC_SPREADSHEETS_EVENT_TYPE_SET_PAGE_OPTIONS
...
@@ -7735,3 +7731,14 @@ window["AscCommon"].getFullImageSrc2 = function (src) {
...
@@ -7735,3 +7731,14 @@ window["AscCommon"].getFullImageSrc2 = function (src) {
}
}
return
src
;
return
src
;
}
}
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