Back to Devexpress

SubDocument.findTables(arg) Method

aspnet-js-subdocument-dot-findtables-x28-arg-x29.md

latest1.0 KB
Original Source

SubDocument.findTables(arg) Method

Returns an array of tables that match the search conditions.

Declaration

ts
findTables(
    arg: number | Interval
): Table[]

Parameters

NameTypeDescription
argnumberInterval

A position or interval where to search for tables.

|

Returns

TypeDescription
Table[]

An array of tables.

|

Remarks

javascript
richEdit.document.activeSubDocument.findTables(richEdit.selection.intervals[0]);

You can use the tablesInfo property to get information about all tables in the sub-document.

Refer to the following section for more information: Access a Structural Element.

See Also

SubDocument Class

SubDocument Members