RowCollection

RowCollection class

Represents table row collection.

addClone

NameDescription
addClone(Row, boolean)Creates a copy of the specified template row and inserts it at the bottom of a table.

Parameters:

NameTypeDescription
templRowRow which is used as a template.
withAttachedRowsbooleanTrue to copy also all rows attached to the template row.

Returns: Row


getSyncRoot

NameDescription
getSyncRoot()Returns a synchronization root. Read-only Object.

Returns: Object


get_Item

NameDescription
get_Item(int)Returns the row at the specified index. Read-only Row.

Returns: Row


insertClone

NameDescription
insertClone(int, Row, boolean)Creates a copy of the specified template row and insert it at the specified position in a table.

Parameters:

NameTypeDescription
indexintIndex of a new row.
templRowRow which is used as a template.
withAttachedRowsbooleanTrue to copy also all rows attached to the template row.

Returns: Row


isSynchronized

NameDescription
isSynchronized()Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only boolean.

Returns: boolean


iterator

NameDescription
iterator()Returns an enumerator that iterates through the collection.

Returns:


iteratorJava

NameDescription
iteratorJava()Returns a java iterator for the entire collection.

Returns:


removeAt

NameDescription
removeAt(int, boolean)Removes a row at the specified position from a table.

Parameters:

NameTypeDescription
firstRowIndexintIndex of a row to delete.
withAttachedRowsbooleanTrue to delete also all attached rows.

size

NameDescription
size()Gets the number of rows actually contained in the collection. Read-only int.

Returns: int