GetCellValue Method (JTable)

Class

JTable.

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 Nothing object is returned. Object.
row The index of the row. The value is zero-based. Integer.
column The name or index of the column. ItemIdentifier.

Examples

Dim cellValue As Object = table.GetCellValue(1, "SilkTest")
cellValue = Table.GetCellValue(1, 3)