JavaTable

The JavaTable object is used to automate a javax.swing.text.JTable component or its subclasses.

Property

Description

JavaTableCell (row, column){get;}

Gets a table cell, according to the given row index and column index (zero based).

JavaTableHeader TableHeader {get;}

Gets the table header control.

List<int>SelectedRows {get, set;}

Gets or sets selected rows, according to their index (zero based).

List<int>SelectedColumns{get, set;}

Gets or sets selected columns, according to their index (zero based).

int RowCount {get;}

Gets the number of rows in the table.

int ColumnCount {get;}

Gets the number of columns in the table.

TableText {get;}

Gets all the data in a table. The table rows are returned in a list of lists:
public List<List<string>> TableText

tog_minusCreateTableCell Method

The CreateTableCell method is used to create a dynamic object (not in the Repository) that represents a specific table cell:

JavaTableCell CreateTableCell(Type cellType, int row, int column)

Parameter

Description

Type cellType

The cell type of the requested cell:

JavaTableCell

JavaTableCellTextbox

JavaTableCellCombo

JavaTableCellCheckbox

Note: No other cell types are supported.

int row

The row index (zero based) of the requested cell.

int column

The column index (zero based) of the requested cell.