GetCellValue Method (JTable)

Class

JTable.

Action

Returns the cell value.

Use "GetCellText" to retrieve the displayed cell text.

Syntax

C#
cellValue = table.GetCellValue(row, column)
VB
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 (Nothing in Visual Basic) 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

VB

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