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
9a15d499
Commit
9a15d499
authored
Mar 14, 2017
by
GoshaZotov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug 34346
parent
9b01746d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
cell/view/WorksheetView.js
cell/view/WorksheetView.js
+15
-0
No files found.
cell/view/WorksheetView.js
View file @
9a15d499
...
...
@@ -9869,7 +9869,22 @@
//cellStyle
if
(
rangeStyle
.
cellStyle
&&
specialPasteProps
.
cellStyle
)
{
//сделал для того, чтобы не перетерались старые бордеры бордерами стиля в случае, если специальная вставка без бордеров
var
oldBorders
=
null
;
if
(
!
specialPasteProps
.
borders
)
{
oldBorders
=
range
.
getBorderFull
();
if
(
oldBorders
)
{
oldBorders
=
oldBorders
.
clone
();
}
}
range
.
setCellStyle
(
rangeStyle
.
cellStyle
);
if
(
oldBorders
)
{
range
.
setBorder
(
null
);
range
.
setBorder
(
oldBorders
);
}
}
//если не вставляем форматированную таблицу, но формат необходимо вставить
...
...
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