Google Apps Script API
    Preparing search index...

    An element representing a table row. A TableRow is always contained within a Table and may only contain TableCell elements. For more information on document structure, see the guide to extending Google Docs.

    interface TableRow {
        appendTableCell(
            textContentsOrCell?: string | GoogleAppsScript.Document.TableCell,
        ): GoogleAppsScript.Document.TableCell;
        asBody(): GoogleAppsScript.Document.Body;
        asDate(): GoogleAppsScript.Document.Date;
        asEquation(): GoogleAppsScript.Document.Equation;
        asEquationFunction(): EquationFunction;
        asEquationFunctionArgumentSeparator(): EquationFunctionArgumentSeparator;
        asEquationSymbol(): EquationSymbol;
        asFooterSection(): FooterSection;
        asFootnote(): GoogleAppsScript.Document.Footnote;
        asFootnoteSection(): FootnoteSection;
        asHeaderSection(): HeaderSection;
        asHorizontalRule(): GoogleAppsScript.Document.HorizontalRule;
        asInlineDrawing(): InlineDrawing;
        asInlineImage(): InlineImage;
        asListItem(): GoogleAppsScript.Document.ListItem;
        asPageBreak(): GoogleAppsScript.Document.PageBreak;
        asParagraph(): GoogleAppsScript.Document.Paragraph;
        asPerson(): GoogleAppsScript.Document.Person;
        asRichLink(): RichLink;
        asTable(): GoogleAppsScript.Document.Table;
        asTableCell(): GoogleAppsScript.Document.TableCell;
        asTableOfContents(): GoogleAppsScript.Document.TableOfContents;
        asTableRow(): GoogleAppsScript.Document.TableRow;
        asText(): GoogleAppsScript.Document.Text;
        clear(): GoogleAppsScript.Document.TableRow;
        copy(): GoogleAppsScript.Document.TableRow;
        editAsText(): GoogleAppsScript.Document.Text;
        findElement(elementType: ElementType, from?: RangeElement): RangeElement;
        findText(searchPattern: string, from?: RangeElement): RangeElement;
        getAttributes(): any;
        getCell(cellIndex: number): GoogleAppsScript.Document.TableCell;
        getChild(childIndex: number): GoogleAppsScript.Document.Element;
        getChildIndex(child: GoogleAppsScript.Document.Element): number;
        getLinkUrl(): string;
        getMinimumHeight(): number;
        getNextSibling(): GoogleAppsScript.Document.Element;
        getNumCells(): number;
        getNumChildren(): number;
        getParent(): ContainerElement;
        getParentTable(): GoogleAppsScript.Document.Table;
        getPreviousSibling(): GoogleAppsScript.Document.Element;
        getText(): string;
        getTextAlignment(): TextAlignment;
        getType(): ElementType;
        insertTableCell(
            childIndex: number,
            textContentsOrCell?: string | GoogleAppsScript.Document.TableCell,
        ): GoogleAppsScript.Document.TableCell;
        isAtDocumentEnd(): boolean;
        merge(): GoogleAppsScript.Document.TableRow;
        removeCell(cellIndex: number): GoogleAppsScript.Document.TableCell;
        removeChild(
            child: GoogleAppsScript.Document.Element,
        ): GoogleAppsScript.Document.TableRow;
        removeFromParent(): GoogleAppsScript.Document.TableRow;
        replaceText(
            searchPattern: string,
            replacement: string,
        ): GoogleAppsScript.Document.Element;
        setAttributes(attributes: any): GoogleAppsScript.Document.TableRow;
        setLinkUrl(url: string): GoogleAppsScript.Document.TableRow;
        setMinimumHeight(minHeight: number): GoogleAppsScript.Document.TableRow;
        setTextAlignment(
            textAlignment: TextAlignment,
        ): GoogleAppsScript.Document.TableRow;
    }

    Hierarchy (View Summary)

    Index

    Methods