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
dfecb632
Commit
dfecb632
authored
Sep 06, 2016
by
GoshaZotov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
_setColorStyleTable after add table in history
parent
dd44ea64
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
cell/model/autofilters.js
cell/model/autofilters.js
+5
-3
No files found.
cell/model/autofilters.js
View file @
dfecb632
...
...
@@ -401,13 +401,15 @@
var
newTablePart
=
t
.
_addNewFilter
(
filterRange
,
styleName
,
bWithoutFilter
,
displayName
,
tablePart
,
offset
);
var
newDisplayName
=
newTablePart
&&
newTablePart
.
DisplayName
?
newTablePart
.
DisplayName
:
null
;
if
(
styleName
)
t
.
_setColorStyleTable
(
worksheet
.
TableParts
[
worksheet
.
TableParts
.
length
-
1
].
Ref
,
worksheet
.
TableParts
[
worksheet
.
TableParts
.
length
-
1
],
null
,
true
);
//history
t
.
_addHistoryObj
({
Ref
:
filterRange
},
AscCH
.
historyitem_AutoFilter_Add
,
{
activeCells
:
filterRange
,
styleName
:
styleName
,
addFormatTableOptionsObj
:
addFormatTableOptionsObj
,
displayName
:
newDisplayName
,
tablePart
:
tablePart
},
null
,
filterRange
,
bWithoutFilter
);
History
.
SetSelectionRedo
(
filterRange
);
if
(
styleName
)
{
t
.
_setColorStyleTable
(
worksheet
.
TableParts
[
worksheet
.
TableParts
.
length
-
1
].
Ref
,
worksheet
.
TableParts
[
worksheet
.
TableParts
.
length
-
1
],
null
,
true
);
}
}
History
.
EndTransaction
();
...
...
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