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
e76d4e7a
Commit
e76d4e7a
authored
May 06, 2016
by
GoshaZotov
Committed by
Alexander.Trofimov
May 19, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change function clearFilterColumn
parent
29f695b1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
cell/model/autofilters.js
cell/model/autofilters.js
+6
-4
No files found.
cell/model/autofilters.js
View file @
e76d4e7a
...
...
@@ -2431,14 +2431,14 @@
{
var
rangeCellId
=
this
.
_idToRange
(
cellId
);
var
colId
=
autoFilter
.
Ref
.
c2
-
rangeCellId
.
c1
;
var
colId
=
rangeCellId
.
c1
-
autoFilter
.
Ref
.
c1
;
res
=
this
.
_getTrueColId
(
filter
,
colId
);
}
return
res
;
},
_getIndexByColId
:
function
(
autoFilter
,
c
el
lId
)
_getIndexByColId
:
function
(
autoFilter
,
c
o
lId
)
{
var
res
=
null
;
...
...
@@ -2446,7 +2446,7 @@
{
if
(
autoFilter
.
FilterColumns
[
i
].
ColId
===
colId
)
{
index
=
i
;
res
=
i
;
break
;
}
}
...
...
@@ -4339,10 +4339,12 @@
if
(
colId
!==
null
)
{
var
index
=
this
.
_getIndexByColId
(
f
ilter
,
colId
);
var
index
=
this
.
_getIndexByColId
(
autoF
ilter
,
colId
);
this
.
_openHiddenRowsAfterDeleteColumn
(
autoFilter
,
colId
);
autoFilter
.
FilterColumns
.
splice
(
index
,
1
);
this
.
_resetTablePartStyle
();
}
return
filter
.
Ref
;
...
...
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