Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TableRow Class

Defines a table row in the document.

#Declaration

TypeScript
export class TableRow extends TableElementBase

#Remarks

var table = richEdit.document.tables.getByIndex(0);
var cell = table.rows.getByIndex(0).cells.getByIndex(0);
var text = richEdit.document.subDocuments.main.getText(cell.interval)

#Properties

#cells Property

Provides information about the table row’s cells.

#Declaration

TypeScript
get cells(): TableCellCollection

#Property Value

Type Description
TableCellCollection

An array of TableCell objects that store information about individual table cells.

#height Property

Specifies the row’s height settings.

#Declaration

TypeScript
get height(): TableRowHeight
set height(value: TableRowHeight)

#Property Value

Type Description
TableRowHeight

An object that contains row height settings.

#Remarks

Use the height property to specify the row height.

#index Property

Gets an index of the row in a table.

#Declaration

TypeScript
get index(): number

#Property Value

Type Description
number

The row index.

#Remarks

Use the index to access the corresponding row by the TableRowCollection.getByIndex method.

#interval Property

Gets the text buffer interval occupied by the current table row element.

#Declaration

TypeScript
get interval(): Interval

#Property Value

Type Description
Interval

An object that contains the interval settings.

#parentTable Property

Returns the table that contains the current row.

#Declaration

TypeScript
get parentTable(): Table

#Property Value

Type Description
Table

The table that contains the current row.