Package com.ebasetech.xi.api
Interface WebFormTable
public interface WebFormTable extends Table
The
WebFormTable represents a table in an interactive web form.
Individual tables can be accessed via the Tables interface.
- Since:
- V4.4
-
Field Summary
Fields inherited from interface com.ebasetech.xi.api.Table
SORT_DIRECTION_ASCENDING, SORT_DIRECTION_DESCENDING -
Method Summary
Modifier and Type Method Description WebFormTableColumngetColumn(java.lang.String columnName)Returns the specifiedtable columnor null if the column does not exist.WebFormTableColumn[]getColumns()Returns an array of alltable columnsin the table.ControlgetControl()Returns the first Table Control or Repeater Control on the current page that displays this table.ControlgetControl(Page page)Returns the first Table Control or Repeater Control on the specified page that displays this table.Methods inherited from interface com.ebasetech.xi.api.Element
getElementName, getElementTypeMethods inherited from interface com.ebasetech.xi.api.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
-
Method Details
-
getControl
Control getControl()Returns the first Table Control or Repeater Control on the current page that displays this table.- Returns:
- control
- See Also:
getControl(Page)
-
getControl
Returns the first Table Control or Repeater Control on the specified page that displays this table.- Returns:
- control
- See Also:
getControl()
-
getColumn
Returns the specifiedtable columnor null if the column does not exist. WhencolumnNameis a valid Java name, the column can more easily be accessed astableName.columnNamee.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"); -
getColumns
WebFormTableColumn[] getColumns()Returns an array of alltable columnsin the table.Javascript example:
var cols = tables.ORDERS.getColumns(); for each (var col in cols) { log(col.elementName + ": " + col.value); }- Specified by:
getColumnsin interfaceTable- Returns:
- an array of all columns in the table
- Since:
- V4.4
-