ClickCell Method (JTable)

Class

JTable class

Action

Clicks the specified cell in the table.

Syntax

table.ClickCell(row, column, [button, position, modifiers])
Variable Description
row The index of the row. The value is one-based. INTEGER.
column The name or index of the column. LISTITEM.
button Optional.The button used for clicking. Valid values are: left (=1, the default value), right (=2), middle (=3). INTEGER.
position Optional.The clicked position within the table cell. If the position is omitted, the click is done in the center of the table cell. POINT.
modifiers Optional.The modifier keys (Alt, Shift and Ctrl) to press while clicking the table cell. Use a modifier to click multiple table cells. Default: Don't use modifier keys. MODIFIERKEYSTATE.

Examples

Table.ClickCell(1, "Street", 1, {10, 10}, MOD_CTRL)
Table.ClickCell(1, "Street")
Table.ClickCell(1, 5)