Skip to main content

DocTableRow

Summary

Represents table row, similar to an HTML <tr> element.

Signature

export declare class DocTableRow extends DocNode 

Constructors

constructor

Constructs a new instance of the class

Properties

cells

Modifiers: readonly Type:get cells(): ReadonlyArray<DocTableCell>; Default: “

kind

Modifiers: readonly Type:get kind(): string; Default: “

Methods

addCell

addPlainTextCell

createAndAddCell

onGetChildNodes

Modifiers: protected

Events

No events defined.

Remarks

Table rows contain cells ([object Object]). Rows can be created with an initial set of cells or cells can be added dynamically using [object Object], [object Object], or the convenience method [object Object].

Examples

Example 1