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
9545391a
Commit
9545391a
authored
May 30, 2016
by
Alexander.Trofimov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug 32567
ToDo filter top10 with empty and text cells not working correct
parent
39d3528b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
cell/model/WorkbookElems.js
cell/model/WorkbookElems.js
+3
-2
No files found.
cell/model/WorkbookElems.js
View file @
9545391a
...
...
@@ -6271,7 +6271,8 @@ Top10.prototype.clone = function() {
res
.
Val
=
this
.
Val
;
return
res
;
};
Top10
.
prototype
.
isHideValue
=
function
(
val
,
top10Length
)
{
Top10
.
prototype
.
isHideValue
=
function
(
val
)
{
// ToDo работает не совсем правильно.
var
res
=
false
;
if
(
null
!==
this
.
FilterVal
)
...
...
@@ -6306,7 +6307,7 @@ Top10.prototype.init = function(range, reWrite){
var
arr
=
[];
var
alreadyAddValues
=
{};
var
count
=
0
;
range
.
_
foreach2
(
function
(
cell
){
range
.
_
setPropertyNoEmpty
(
null
,
null
,
function
(
cell
){
var
val
=
parseFloat
(
cell
.
getValueWithoutFormat
());
if
(
!
isNaN
(
val
)
&&
!
alreadyAddValues
[
val
])
...
...
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