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
6a008ff7
Commit
6a008ff7
authored
Oct 26, 2016
by
Alexander.Trofimov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update selection after change sparkline props
parent
04474543
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
cell/api.js
cell/api.js
+1
-0
cell/model/WorkbookElems.js
cell/model/WorkbookElems.js
+7
-8
No files found.
cell/api.js
View file @
6a008ff7
...
...
@@ -2620,6 +2620,7 @@ var editor;
var
changedSparkline
=
AscCommon
.
g_oTableId
.
Get_ById
(
id
);
if
(
changedSparkline
)
{
changedSparkline
.
set
(
oSparklineGroup
);
this
.
wb
.
_onWSSelectionChanged
();
this
.
wb
.
getWorksheet
().
draw
();
}
};
...
...
cell/model/WorkbookElems.js
View file @
6a008ff7
...
...
@@ -5013,18 +5013,17 @@ CellArea.prototype = {
return
true
;
};
sparklineGroup
.
prototype
.
asc_getStyles
=
function
()
{
sparklineGroup
.
prototype
.
asc_getStyles
=
function
()
{
var
aRet
=
[];
var
nStyleIndex
=
-
1
;
for
(
var
i
=
0
;
i
<
36
;
++
i
)
{
var
nStyleIndex
=
-
1
;
for
(
var
i
=
0
;
i
<
36
;
++
i
)
{
var
oSparklineGroup
=
this
.
asc_createSparklineGroupByStyle
(
i
);
if
(
nStyleIndex
===
-
1
&&
this
.
isEqualColors
(
oSparklineGroup
))
{
nStyleIndex
=
i
;
}
if
(
nStyleIndex
===
-
1
&&
this
.
isEqualColors
(
oSparklineGroup
))
{
nStyleIndex
=
i
;
}
aRet
.
push
(
this
.
asc_getThumbBySparklineGroup
(
oSparklineGroup
));
}
aRet
.
push
(
nStyleIndex
);
aRet
.
push
(
nStyleIndex
);
return
aRet
;
};
...
...
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