Class TableRow

Table Row

A row in a table. A row consists of a list of table cells. A row is identified by the row index.

Methods

Method Return type Brief description
Table Cell Returns the cell at the specified index.
Integer Returns the 0-based index of the row.
Number Returns the minimum height of the row in points.
Integer Returns the number of cells in this row.
Table Returns the table containing the current row.
void Removes the table row.

Detailed documentation

get Cell(cellIndex)

Returns the cell at the specified index.

Parameters

Name Type Description
cell Index
Integer The 0-based index of the cell to retrieve.

Return

Table Cell — the cell.

Authorization

Scripts that use this method require authorization with one or more of the following scopes :

  • https://www.googleapis.com/auth/presentations.currentonly
  • https://www.googleapis.com/auth/presentations

get Index()

Returns the 0-based index of the row.

Return

Integer

Authorization

Scripts that use this method require authorization with one or more of the following scopes :

  • https://www.googleapis.com/auth/presentations.currentonly
  • https://www.googleapis.com/auth/presentations

get Minimum Height()

Returns the minimum height of the row in points. The actual height depends on the length of the content of the cell.

Return

Number

Authorization

Scripts that use this method require authorization with one or more of the following scopes :

  • https://www.googleapis.com/auth/presentations.currentonly
  • https://www.googleapis.com/auth/presentations

get Num Cells()

Returns the number of cells in this row.

Return

Integer

Authorization

Scripts that use this method require authorization with one or more of the following scopes :

  • https://www.googleapis.com/auth/presentations.currentonly
  • https://www.googleapis.com/auth/presentations

get Parent Table()

Returns the table containing the current row.

Return

Table

Authorization

Scripts that use this method require authorization with one or more of the following scopes :

  • https://www.googleapis.com/auth/presentations.currentonly
  • https://www.googleapis.com/auth/presentations

remove()

Removes the table row.

If all the cells in the row are merged with other rows, the common rows spanned by these cells are removed.

If no rows remain in the table after this removal, the whole table is removed.

Authorization

Scripts that use this method require authorization with one or more of the following scopes :

  • https://www.googleapis.com/auth/presentations.currentonly
  • https://www.googleapis.com/auth/presentations
Design a Mobile Site
View Site in Mobile | Classic
Share by: