SetCellValue Method (JTable)

Class

JTable.

Action

Sets the specified value for the specified cell in the table.

Syntax

table.SetCellValue(row, column, value)
Variable Description
row The index of the row. The value is zero-based. Integer.
column The name or index of the column. ItemIdentifier.
value The cell value object. Object.

Examples

table.SetCellValue(1, "Product Name", "SilkTest")
table.SetCellValue(1, 4, "SilkTest")