.getDataAsHTML(title, width)
String title - The title for the HTML page.
int width - The width (in pixels) for the "table" element in the resulting html page.
.getRowsInViewOrder()
None
.getSelectedColumn()
None
.getSelectedColumnCount()
None
.getSelectedRow()
None
.getSelectedRows()
None
.getSelectedRowCount()
None
.isCellSelected(row, column)
int row - The row to test.
int column - The column to test.
.isColumnSelected(column)
int column- The column to test.
.isRowSelected(row)
int row - The row to test.
This specialized print function will paginate the table onto multiple pages.This function accepts keyword-style invocation.
boolean fitWidth - If true, the table's width will be stretched to fit across one page's width. Rows will still paginate normally. If false, the table will paginate columns onto extra pages. (default = true) [optional]
string headerFormat - A string to use as the table's page header. The substring "{0}" will be replaced with the current page number. (default = None) [optional]
string footerFormat - A string to use as the table's page footer. The substring "{0}" will be replaced with the current page number. (default = "Page {0}") [optional]
boolean showDialog - Whether or not the print dialog should be shown to the user. Default is true. [optional]
boolean landscape - Used to specify portrait (0) or landscape (1) mode. Default is portrait (0). [optional]
.setColumnLabel(column, label)
Used to set a column's header label to a new string at runtime.
int column - The column index that will get a new headel label.
String label - The new header label.
.setColumnSelectionInterval(index0, index1)
Sets the given range of columns to be selected. If index0==index1, it will select a single column.
int index0 - the first index.
int index1 - the second index.
.setColumnWidth(column, width)
Used to set a column's width at runtime.
int column - The index of the column.
int width - The width to set it at in pixels.
.setRowSelectionInterval(index0, index1)
Sets the given range of rows to be selected. If index0==index1, it will select a single row.
int index0 - The first index.
int index1 - The second index.
.setSelectedColumn(column)
Sets the given column to be the selected column.
int column - Column to select.
.setSelectedRow(row)
Sets the given row to be the selected row.
int row - Row to select.
.setValue(row, column, value)
Sets the value in the specified cell, altering the table's Data property. Will fire a propertyChange event for the "data" property, as well as a cellEdited event.
int row - The index of the row to set the value at.
int column - The index or name of the column to set a value at.
PyObject value - The new value to use at the given row/column location.
.sortByColumn(columnName [, asc])
Instructs the table to sort the data by the named column.
String columnName - The name of the column.
boolean asc - 1 means ascending, 0 means descending. (default = 1) [optional]
.sortOriginal()
Instructs the table to clear any custom sort columns and display the data as it is sorted in the underlying dataset.
.updateRow(rowIndex, changes)
Updates an entire row of the table's dataset.