GetCellValue Method (JTable)

Class

JTable class

Action

Returns the cell value.

Use "GetCellText" to retrieve the displayed cell text.

Syntax

cellValue = table.GetCellValue(row, column)
Variable Description
cellValue The value object of the cell. If the type of the table cell is not recognized, the object String value is returned. If the cell is empty a null object is returned. ANYTYPE.
row The index of the row. The value is one-based. INTEGER.
column The name or index of the column. LISTITEM.

Examples

ANYTYPE cellValue = Table.GetCellValue(1, "SilkTest")
cellValue = Table.GetCellValue(1, 3)