ListObjectCollection

ListObjectCollection class

Represents a collection of ListObject objects in the worksheet.

Methods

NameDescription
add(startRow, startColumn, endRow, endColumn, hasHeaders)Adds a ListObject to the worksheet.
add(startCell, endCell, hasHeaders)Adds a ListObject to the worksheet.
add()Reserved for internal use.
clear()
contains()Reserved for internal use.
get(index)Gets the ListObject by index.
get(tableName)Gets the ListObject by specified name.
get()Reserved for internal use.
getCount()
indexOf()Reserved for internal use.
iterator()
removeAt()
updateColumnName()Update all column name of the tables.

add(startRow, startColumn, endRow, endColumn, hasHeaders)

Adds a ListObject to the worksheet.

ParameterTypeDescription
startRowNumberThe start row of the list range.
startColumnNumberThe start row of the list range.
endRowNumberThe start row of the list range.
endColumnNumberThe start row of the list range.
hasHeadersbooleanWhether the range has headers.

Returns: Number — Number The index of the new ListObject

add(startCell, endCell, hasHeaders)

Adds a ListObject to the worksheet.

ParameterTypeDescription
startCellStringThe start cell of the list range.
endCellStringThe end cell of the list range.
hasHeadersbooleanWhether the range has headers.

Returns: Number — Number The index of the new ListObject

add()

Reserved for internal use.

clear()

contains()

Reserved for internal use.

get(index)

Gets the ListObject by index.

ParameterTypeDescription
indexNumberThe index.

Returns: ListObject — ListObject The ListObject

get(tableName)

Gets the ListObject by specified name.

ParameterTypeDescription
tableNameStringListObject name.

Returns: ListObject — ListObject The ListObject

get()

Reserved for internal use.

getCount()

indexOf()

Reserved for internal use.

iterator()

removeAt()

updateColumnName()

Update all column name of the tables.