Cells

A collection of table cells.

Methods:

[], anyItem, count, everyItem, firstItem, item, itemByID, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource

Property Listing

Property

Type

Access

Description

length

Number

readonly

The number of objects in the collection.

Method Listing

Cell [] (index:Number)

Returns the Cell with the specified index.

Parameter

Type

Description

index

Number

The index.

Cell anyItem ()

Returns any Cell in the collection.

Number count ()

Displays the number of elements in the Cell.

Cell everyItem ()

Returns every Cell in the collection.

Cell firstItem ()

Returns the first Cell in the collection.

Cell item (index:Varies LongInteger String)

Returns the Cell with the specified index or name.

Parameter

Type

Description

index

LongInteger

String

The index or name. Can accept: Long Integer or String.

Cell itemByID (id:Number)

Returns the Cell with the specified ID.

Parameter

Type

Description

id

Number

The ID.

Cell itemByName (name:String)

Returns the Cell with the specified name.

Parameter

Type

Description

name

String

The name.

Cell itemByRange (from:Varies Cell LongInteger String, to:Varies Cell LongInteger String)

Returns the Cells within the specified range.

Parameter

Type

Description

from

Cell

LongInteger

String

The Cell, index, or name at the beginning of the range. Can accept: Cell, Long Integer or String.

to

Cell

LongInteger

String

The Cell, index, or name at the end of the range. Can accept: Cell, Long Integer or String.

Cell lastItem ()

Returns the last Cell in the collection.

Cell middleItem ()

Returns the middle Cell in the collection.

Cell nextItem (obj:Cell)

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

Parameter

Type

Description

obj

Cell

The Cell whose index comes before the desired Cell.

Cell previousItem (obj:Cell)

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

Parameter

Type

Description

obj

Cell

The index of the Cell that follows the desired Cell.

String toSource ()

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

Object of

Cell.cells

Table.cells

Column.cells

Row.cells

XMLElement.cells