Back to Devexpress

TableRow Class

aspnetcore-js-devexpress-dot-richedit-c14eb7ec.md

latest2.2 KB
Original Source

TableRow Class

Defines a table row in the document.

Declaration

ts
export class TableRow extends TableElementBase

Remarks

javascript
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

ts
get cells(): TableCellCollection

Property Value

TypeDescription
TableCellCollection

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

|

height Property

Specifies the row’s height settings.

Declaration

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

Property Value

TypeDescription
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

ts
get index(): number

Property Value

TypeDescription
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

ts
get interval(): Interval

Property Value

TypeDescription
Interval

An object that contains the interval settings.

|

parentTable Property

Returns the table that contains the current row.

Declaration

ts
get parentTable(): Table

Property Value

TypeDescription
Table

The table that contains the current row.

|