FindCell Method (JTable)

Class

JTable.

Action

Returns the cell containing the specified text.

FindCell searches cells for text starting in the 1st row, 1st column. It searches each cell in the first row, then searches the second row, and so on, until it finds a match or it reaches the end of the table. You can use wildcards in your search text.

Syntax

result = table.FindCell(text)
Variable Description
result A list containing the row and column index of the cell (in this order). If the cell is not found the list is empty . List(Of Integer).
text The text in a cell in the table. String.

Examples

Dim findCell As IList = table.findCell("SilkTest")