Class: CollectionCellSet

Oracle® Fusion Middleware Oracle JavaScript Extension Toolkit (JET)
12c (12.1.4)

E54107-01

QuickNav

oj. CollectionCellSet

Constructor

new CollectionCellSet(startRow, endRow, startColumn, endColumn, collection, columns, offset)

Parameters:
Name Type Argument Description
startRow number the start row index of the cell set
endRow number the end row index of the cell set
startColumn number the start column index of the cell set
endColumn number the end column index of the cell set
collection Object the OJ collection instance
columns Array | null the set of column keys
offset number <optional>
the start index used for paging
Source:

Methods

getCollection()

Gets the m_collection property
Source:

getColumns()

Gets the m_columns property
Source:

getCount(axis) → {number}

Gets the actual count of the result set for the specified axis. Valid values are "row" and "column".
Parameters:
Name Type Description
axis string the axis in which to inquire the actual count of the result set.
Source:
Returns:
the actual count of the result set for the specified axis.
Type
number

getData(indexes) → {Object}

Gets the data of the specified index. An error is throw when 1) the range is not yet available 2) the index specified is out of bounds.
Parameters:
Name Type Description
indexes Object the index of each axis in which we want to retrieve the data from.
Properties
Name Type Description
row number the index of the row axis.
column number the index of the column axis.
Source:
Returns:
the data object for the specified index.
Type
Object

getEndColumn()

Gets the m_endColumn property
Source:

getEndRow()

Gets the m_endRow property
Source:

getMetadata(indexes)

Gets the metadata of the specified index. An error is throw when 1) the range is not yet available 2) the index specified is out of bounds.
Parameters:
Name Type Description
indexes Object the index of each axis in which we want to retrieve the metadata from.
Properties
Name Type Description
row number the index of the row axis.
column number the index of the column axis.
Source:
Returns:
the metadata object for the specific index. The metadata that the DataGrid supports are: 1) keys - the key (of each axis) of the cell.

getStartColumn()

Gets the m_startColumn property
Source:

getStartRow()

Gets the m_startRow property
Source: