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
7919cb5d
Commit
7919cb5d
authored
Mar 30, 2016
by
GoshaZotov
Committed by
Alexander.Trofimov
May 19, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add function asc_getTableRange(class asc_CFormatTableInfo)
parent
402852ac
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
1 deletion
+7
-1
cell/api.js
cell/api.js
+1
-1
cell/model/CellInfo.js
cell/model/CellInfo.js
+5
-0
cell/view/WorksheetView.js
cell/view/WorksheetView.js
+1
-0
No files found.
cell/api.js
View file @
7919cb5d
...
...
@@ -673,7 +673,7 @@ var editor;
spreadsheet_api
.
prototype
.
asc_deleteCellsInTable
=
function
(
tableName
,
optionType
)
{
var
ws
=
this
.
wb
.
getWorksheet
();
return
ws
.
a
sc
_deleteCellsInTable
(
tableName
,
optionType
);
return
ws
.
a
f
_deleteCellsInTable
(
tableName
,
optionType
);
};
spreadsheet_api
.
prototype
.
asc_setMobileVersion
=
function
(
isMobile
)
{
...
...
cell/model/CellInfo.js
View file @
7919cb5d
...
...
@@ -178,6 +178,8 @@
this
.
isShowRowStripes
=
null
;
this
.
isShowTotalRow
=
null
;
this
.
isShowHeaderRow
=
null
;
this
.
tableRange
=
null
;
}
asc_CFormatTableInfo
.
prototype
=
{
...
...
@@ -191,6 +193,7 @@
asc_getLastCol
:
function
()
{
return
this
.
lastCol
;
},
asc_getBandVer
:
function
()
{
return
this
.
bandVer
;
},
asc_getFilterButton
:
function
()
{
return
this
.
filterButton
;
}
asc_getTableRange
:
function
()
{
return
this
.
tableRange
;
}
};
window
[
"
Asc
"
].
asc_CFormatTableInfo
=
window
[
"
Asc
"
][
"
asc_CFormatTableInfo
"
]
=
asc_CFormatTableInfo
;
...
...
@@ -206,6 +209,8 @@
prot
[
"
asc_getLastCol
"
]
=
prot
.
asc_getLastCol
;
prot
[
"
asc_getBandVer
"
]
=
prot
.
asc_getBandVer
;
prot
[
"
asc_getFilterButton
"
]
=
prot
.
asc_getFilterButton
;
prot
[
"
asc_getTableRange
"
]
=
prot
.
asc_getTableRange
;
/** @constructor */
...
...
cell/view/WorksheetView.js
View file @
7919cb5d
...
...
@@ -7312,6 +7312,7 @@
}
cell_info
.
formatTableInfo
.
lastRow
=
curTablePart
.
TotalsRowCount
!==
null
?
true
:
false
;
cell_info
.
formatTableInfo
.
firstRow
=
curTablePart
.
HeaderRowCount
===
null
?
true
:
false
;
cell_info
.
formatTableInfo
.
tableRange
=
curTablePart
.
Ref
.
getAbsName
();
//cell_info.formatTableInfo.filterButton = curTablePart.HeaderRowCount !== null ? true : false;
}
...
...
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