InDesign2026
API 21.5.1.73
Collection of Row

Rows

A collection of table rows.

Properties

NameType AccessDescription
Number readonly The number of objects in the collection.

Methods

Row

Returns the Row with the specified index.

index Number The index.
→ Varies

Creates a new Row.

at? LocationOptions The Row's location relative to the reference object or within the table.
reference? Cell | Column | Row | Table The reference object. Note: The reference object must be within the table. Required only when the at value contains before or after. Can accept: Row, Column, Cell or Table.
withProperties? Object Initial values for properties of the new Row
Row

Returns any Row in the collection.

Number

Displays the number of elements in the Row.

Row[]

Returns every Row in the collection.

Row

Returns the first Row in the collection.

Row

Returns the Row with the specified index or name.

index LongInteger | String The index or name. Can accept: Long Integer or String.
Row

Returns the Row with the specified name.

name String The name.
Row[]

Returns the Rows within the specified range.

from LongInteger | Row | String The Row, index, or name at the beginning of the range. Can accept: Row, Long Integer or String.
to LongInteger | Row | String The Row, index, or name at the end of the range. Can accept: Row, Long Integer or String.
Row

Returns the last Row in the collection.

Row

Returns the middle Row in the collection.

Row

Returns the Row whose index follows the specified Row in the collection.

obj Row The Row whose index comes before the desired Row.
Row

Returns the Row with the index previous to the specified index.

obj Row The index of the Row that follows the desired Row.
String

Generates a string which, if executed, will return the Row.

Object of 4

Properties elsewhere that hold a Rows.