Property Getters/Setters Summary | ||
---|---|---|
function | getFirstCell() | |
Gets the first cell object in the row.
|
||
function | getFirstDataCell() | |
Gets the first non-blank cell in the row.
|
||
function | getGroupLevel() | |
function | setGroupLevel(value) | |
Gets the group level of the row. | ||
function | hasCustomStyle() | |
Indicates whether this row has custom style settings(different from the default one inherited from workbook).
|
||
function | getHeight() | |
function | setHeight(value) | |
Gets and sets the row height in unit of Points. | ||
function | getIndex() | |
Gets the index of this row.
|
||
function | isBlank() | |
Indicates whether the row contains any data
|
||
function | isCollapsed() | |
function | setCollapsed(value) | |
whether the row is collapsed | ||
function | isHeightMatched() | |
function | setHeightMatched(value) | |
Indicates whether the row height matches current default font setting of the workbook. True of this property also denotes the row height is "automatic" without custom height value set by user. | ||
function | isHidden() | |
function | setHidden(value) | |
Indicates whether the row is hidden. | ||
function | getLastCell() | |
Gets the last cell object in the row.
|
||
function | getLastDataCell() | |
Gets the last non-blank cell in the row.
|
||
function | get(column) | |
Gets the cell.
|
Method Summary | ||
---|---|---|
function | applyStyle(style, flag) | |
Applies formats for a whole row.
|
||
function | copySettings(source, checkStyle) | |
Copy settings of row, such as style, height, visibility, ...etc.
|
||
function | equals(row) | |
Checks whether this object refers to the same row with another row object.
|
||
function | equals(obj) | |
Checks whether this object refers to the same row with another.
|
||
function | getCellByIndex(index) | |
Get the cell by specific index in the cells collection of this row.
|
||
function | getCellOrNull(column) | |
Gets the cell or null in the specific index.
|
||
function | getStyle() | |
Gets the style of this row.
|
||
function | iterator() | |
Gets the cells enumerator
|
||
function | setStyle(style) | |
Sets the style of this row.
|
function isBlank()
function isCollapsed() / function setCollapsed(value)
function getHeight() / function setHeight(value)
function isHidden() / function setHidden(value)
function getIndex()
function getGroupLevel() / function setGroupLevel(value)
function isHeightMatched() / function setHeightMatched(value)
function hasCustomStyle()
function getFirstCell()
function getFirstDataCell()
function getLastCell()
function getLastDataCell()
function get(column)
column
- The column indexfunction getCellByIndex(index)
index: Number
- The index(position) of the cell in the cells collection of this row.function iterator()
function getCellOrNull(column)
column: Number
- The column indexfunction getStyle()
function setStyle(style)
style: Style
- the style to be used as the default style for cells in this row.function copySettings(source, checkStyle)
source: Row
- the source row whose settings will be copied to this onecheckStyle: boolean
- whether check and gather style.
Only takes effect and be needed when two row objects belong to different workbook and the styles of two workbooks are different.function applyStyle(style, flag)
style: Style
- The style object which will be applied.flag: StyleFlag
- Flags which indicates applied formatting properties.function equals(obj)
obj: Object
- another objectfunction equals(row)
row: Row
- another row object