SORT_DIRECTION_ASCENDING, SORT_DIRECTION_DESCENDING
Modifier and Type | Method and Description |
---|---|
WebFormTableColumn |
getColumn(java.lang.String columnName)
Returns the specified
table column or null if the column does not exist. |
WebFormTableColumn[] |
getColumns()
Returns an array of all
table columns in the table. |
Control |
getControl()
Returns the first Table Control or Repeater Control on the current page that displays this table.
|
Control |
getControl(Page page)
Returns the first Table Control or Repeater Control on the specified page that displays this table.
|
copyTable, deleteRow, deleteRow, fetchTable, fetchTable, findRow, findRows, getColumnValueOnRow, getCurrentRow, getRowCount, getRows, getSortColumns, getSortDirections, insertRow, isRowDeletedByUser, isRowDeletedByUser, isRowEmpty, isRowEmpty, isRowInserted, isRowInserted, isRowModified, isRowModified, isRowSelected, isRowSelected, loadFromJSON, replaceTable, resetTable, setColumnValueOnRow, setCurrentRow, setRowDeletedByUser, setRowDeletedByUser, setRowEmpty, setRowEmpty, setRowSelected, setRowSelected, sort, sort, sort, sort, toJSON, toJSON, updateTable
getElementName, getElementType
Control getControl()
getControl(Page)
Control getControl(Page page)
getControl()
WebFormTableColumn getColumn(java.lang.String columnName)
table column
or null if the column does not exist. When columnName
is a valid Java name,
the column can more easily be accessed as tableName.columnName
e.g. T1.COL1
, however use
of this method is the only way to access column names that are not valid Java names.
Javascript example:
var col = tables.ORDERS.getColumn("2XX");
WebFormTableColumn[] getColumns()
table columns
in the table.
Javascript example:
var cols = tables.ORDERS.getColumns(); for each (var col in cols) { log(col.elementName + ": " + col.value); }
getColumns
in interface Table