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
f0106d63
Commit
f0106d63
authored
Apr 26, 2016
by
GoshaZotov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
unmerge range(after move into formattable)
parent
e13742c5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
cell/model/Workbook.js
cell/model/Workbook.js
+3
-0
cell/model/autofilters.js
cell/model/autofilters.js
+15
-0
No files found.
cell/model/Workbook.js
View file @
f0106d63
...
...
@@ -4795,6 +4795,9 @@ Woorksheet.prototype._moveRange=function(oBBoxFrom, oBBoxTo, copyRange){
*/
sortDependency
(
this
.
workbook
);
}
this
.
autoFilters
.
unmergeTablesAfterMove
(
oBBoxTo
);
// ToDo возможно нужно уменьшить диапазон обновления
History
.
Add
(
AscCommonExcel
.
g_oUndoRedoWorksheet
,
AscCH
.
historyitem_Worksheet_MoveRange
,
this
.
getId
(),
new
Asc
.
Range
(
0
,
0
,
gc_nMaxCol0
,
gc_nMaxRow0
),
...
...
cell/model/autofilters.js
View file @
f0106d63
...
...
@@ -1725,6 +1725,21 @@
return
false
;
},
unmergeTablesAfterMove
:
function
(
arnTo
)
{
var
worksheet
=
this
.
worksheet
;
var
intersectionRangeWithTableParts
=
this
.
_intersectionRangeWithTableParts
(
arnTo
);
if
(
intersectionRangeWithTableParts
&&
intersectionRangeWithTableParts
.
length
)
{
for
(
var
i
=
0
;
i
<
intersectionRangeWithTableParts
.
length
;
i
++
)
{
var
tablePart
=
intersectionRangeWithTableParts
[
i
];
worksheet
.
mergeManager
.
remove
(
tablePart
.
Ref
.
clone
());
}
}
},
_setStyleTablePartsAfterOpenRows
:
function
(
ref
)
{
...
...
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