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
d7f7892b
Commit
d7f7892b
authored
Nov 15, 2016
by
Alexander.Trofimov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug 33274
reinit ranges after autofit width/height
parent
09211907
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
cell/view/WorksheetView.js
cell/view/WorksheetView.js
+4
-2
No files found.
cell/view/WorksheetView.js
View file @
d7f7892b
...
@@ -10315,12 +10315,13 @@
...
@@ -10315,12 +10315,13 @@
t
.
_cleanCache
(
new
asc_Range
(
c
,
0
,
c
,
t
.
rows
.
length
-
1
));
t
.
_cleanCache
(
new
asc_Range
(
c
,
0
,
c
,
t
.
rows
.
length
-
1
));
}
}
}
}
History
.
EndTransaction
();
if
(
bUpdate
)
{
if
(
bUpdate
)
{
t
.
_updateColumnPositions
();
t
.
_updateColumnPositions
();
t
.
_updateVisibleColsCount
();
t
.
_updateVisibleColsCount
();
t
.
changeWorksheet
(
"
update
"
);
t
.
changeWorksheet
(
"
update
"
);
t
.
objectRender
.
drawingArea
.
reinitRanges
();
}
}
History
.
EndTransaction
();
});
});
};
};
...
@@ -10369,13 +10370,14 @@
...
@@ -10369,13 +10370,14 @@
t
.
model
.
setRowBestFit
(
true
,
Math
.
min
(
height
,
t
.
maxRowHeight
),
r
,
r
);
t
.
model
.
setRowBestFit
(
true
,
Math
.
min
(
height
,
t
.
maxRowHeight
),
r
,
r
);
}
}
History
.
EndTransaction
();
t
.
nRowsCount
=
0
;
t
.
nRowsCount
=
0
;
t
.
_calcHeightRows
(
AscCommonExcel
.
recalcType
.
recalc
);
t
.
_calcHeightRows
(
AscCommonExcel
.
recalcType
.
recalc
);
t
.
_updateVisibleRowsCount
();
t
.
_updateVisibleRowsCount
();
t
.
_cleanCache
(
new
asc_Range
(
0
,
row1
,
t
.
cols
.
length
-
1
,
row2
));
t
.
_cleanCache
(
new
asc_Range
(
0
,
row1
,
t
.
cols
.
length
-
1
,
row2
));
t
.
changeWorksheet
(
"
update
"
);
t
.
changeWorksheet
(
"
update
"
);
t
.
objectRender
.
drawingArea
.
reinitRanges
();
History
.
EndTransaction
();
};
};
return
this
.
_isLockedAll
(
onChangeHeightCallback
);
return
this
.
_isLockedAll
(
onChangeHeightCallback
);
};
};
...
...
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