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
2025fe8d
Commit
2025fe8d
authored
Oct 11, 2016
by
Alexander.Trofimov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug 33202
parent
7c46b97d
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
322 additions
and
309 deletions
+322
-309
cell/model/History.js
cell/model/History.js
+1
-1
cell/model/Workbook.js
cell/model/Workbook.js
+1
-1
cell/view/WorkbookView.js
cell/view/WorkbookView.js
+2
-2
cell/view/WorksheetView.js
cell/view/WorksheetView.js
+318
-305
No files found.
cell/model/History.js
View file @
2025fe8d
...
...
@@ -371,7 +371,7 @@ CHistory.prototype.UndoRedoEnd = function (Point, oRedoObjectParam, bUndo) {
}
for
(
i
in
Point
.
UpdateRigions
)
this
.
workbook
.
handlers
.
trigger
(
"
cleanCellCache
"
,
i
,
{
'
0
'
:
Point
.
UpdateRigions
[
i
]},
false
,
true
,
oRedoObjectParam
.
bAddRemoveRowCol
);
this
.
workbook
.
handlers
.
trigger
(
"
cleanCellCache
"
,
i
,
{
'
0
'
:
Point
.
UpdateRigions
[
i
]},
true
,
oRedoObjectParam
.
bAddRemoveRowCol
);
for
(
i
in
oRedoObjectParam
.
oChangeWorksheetUpdate
)
this
.
workbook
.
handlers
.
trigger
(
"
changeWorksheetUpdate
"
,
...
...
cell/model/Workbook.js
View file @
2025fe8d
...
...
@@ -3179,7 +3179,7 @@ Workbook.prototype.getTableNameColumnByIndex = function(tableName, columnIndex){
}
}
for
(
i
in
oCleanCellCacheArea
)
{
this
.
handlers
.
trigger
(
"
cleanCellCache
"
,
i
,
oCleanCellCacheArea
[
i
]
,
AscCommonExcel
.
c_oAscCanChangeColWidth
.
none
);
this
.
handlers
.
trigger
(
"
cleanCellCache
"
,
i
,
oCleanCellCacheArea
[
i
]);
}
AscCommonExcel
.
g_oVLOOKUPCache
.
clean
();
...
...
cell/view/WorkbookView.js
View file @
2025fe8d
...
...
@@ -689,10 +689,10 @@
}
});
this
.
model
.
handlers
.
add
(
"
cleanCellCache
"
,
function
(
wsId
,
oRanges
,
canChangeColWidth
,
bLockDraw
,
updateHeight
)
{
this
.
model
.
handlers
.
add
(
"
cleanCellCache
"
,
function
(
wsId
,
oRanges
,
bLockDraw
,
updateHeight
)
{
var
ws
=
self
.
getWorksheetById
(
wsId
,
true
);
if
(
ws
)
{
ws
.
updateRanges
(
oRanges
,
canChangeColWidth
,
bLockDraw
||
wsId
!=
self
.
getWorksheet
(
self
.
wsActive
).
model
.
getId
(),
updateHeight
);
ws
.
updateRanges
(
oRanges
,
bLockDraw
||
wsId
!=
self
.
getWorksheet
(
self
.
wsActive
).
model
.
getId
(),
updateHeight
);
}
});
this
.
model
.
handlers
.
add
(
"
changeWorksheetUpdate
"
,
function
(
wsId
,
val
)
{
...
...
cell/view/WorksheetView.js
View file @
2025fe8d
This diff is collapsed.
Click to expand it.
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