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
a51f80c4
Commit
a51f80c4
authored
Jul 27, 2016
by
Alexander.Trofimov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
_isEmptyRange:
range.getValueWithoutFormat -> cell.isEmptyText
parent
0bea5ab2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
18 deletions
+9
-18
cell/model/autofilters.js
cell/model/autofilters.js
+9
-18
No files found.
cell/model/autofilters.js
View file @
a51f80c4
...
@@ -4928,26 +4928,17 @@
...
@@ -4928,26 +4928,17 @@
return
result
;
return
result
;
},
},
_isEmptyRange
:
function
(
a
ctiveCells
)
_isEmptyRange
:
function
(
a
r
)
{
{
var
worksheet
=
this
.
worksheet
;
var
range
=
this
.
worksheet
.
getRange3
(
Math
.
max
(
0
,
ar
.
r1
-
1
),
Math
.
max
(
0
,
ar
.
c1
-
1
),
ar
.
r2
+
1
,
ar
.
c2
+
1
);
var
cell
;
var
res
=
true
;
for
(
var
n
=
activeCells
.
r1
-
1
;
n
<=
activeCells
.
r2
+
1
;
n
++
)
range
.
_foreachNoEmpty
(
function
(
cell
)
{
{
if
(
!
cell
.
isEmptyText
())
{
if
(
n
<
0
)
res
=
false
;
n
=
0
;
return
true
;
for
(
var
k
=
activeCells
.
c1
-
1
;
k
<=
activeCells
.
c2
+
1
;
k
++
)
{
if
(
k
<
0
)
k
=
0
;
cell
=
worksheet
.
getCell3
(
n
,
k
,
n
,
k
);
if
(
cell
.
getValueWithoutFormat
()
!=
''
)
return
false
;
}
}
}
}
);
return
true
;
return
res
;
},
},
_setStyleTables
:
function
(
range
)
_setStyleTables
:
function
(
range
)
...
...
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