Share:
Developers » Script Objects & Methods » ScriptTableController

PREVIOUS  |  NEXT

ScriptTableController


The following table lists the available methods for the ScriptTableController object.

Return TypeMethodExplanation
List<ScriptTableControllerSourceObject>getDeletedObjects()Returns the list of all deleted entries in the table controller
List<ScriptTableControllerSourceObject>getDisplayedObjects()Returns the list of all displayed entries in the table controller
List<ScriptTableControllerRow>getDisplayedRows()Returns the list of all displayed rows in table controller
ScriptTableControllerRowgetLastUpdateReturns the entry that was last updated
List<ScriptTableControllerSourceObject >getNewObjects()Returns the list of all added entries in the table controller
List<ScriptTableControllerSourceObject >getSelectedObjects()Returns the list of all selected entries in table controller
List<ScriptTableControllerSourceObject>getSourceObjects()Returns the list of all existing entries in table controller
List<ScriptTableControllerSourceObject>getUpdatedObjects()Returns the list of all updated entries in the table controller 
VoidalertMessage(String message)Displays the alert message
VoidcheckSelection(Integer oid)Selects the Boolean cell by forwarding the row ID 
VoidclearCellErrorMessage(Integer oid, String property)Removes the error message by forwarding the row ID and column property
VoiddisableCell(Integer oid, String property)Disables the cell by forwarding the row ID and column property
VoiddisableSelection(Integer oid, boolean disabled)Disables the Boolean cell by forwarding the row ID, and:
  • true
  • disable selection
  • false
  • do not disable selection
VoidenableCells(String property)Enables all cells from the designated column property
VoidenableCell(Integer oid, String property)Enables the cell by forwarding the row ID and column property
VoidhideCell(Integer oid, String property)Hides the cell by forwarding the row ID  and column property
VoidhideColumn(String property)Hides the column by forwarding the column property
VoidinitCellValue(String property, String value)Initializes the cell value by forwarding column property and value
VoidinitCellPredefinedValues(String property, List<String> options)Initializes predefined cell values (single-select columns) by forwarding the column property and list of values
VoidsetCellsCSS(String property, String cssProperty, String cssValue)Sets the CSS value for the designated property
VoidsetCellCSS(Integer oid, String, String, String)Sets the CSS value by forwarding the row ID, column CSS property, and value
VoidsetCellsPredefinedValues(Integer oid, String property, List<String> options, String selectedValue) Sets predefined cell values (single-select columns) by forwarding the row ID, column property, list of values and selected value. When used, the Save and Cancel buttons will not display on the form.
VoidsetCellsPredefinedValues(Integer oid, String property, List<String> options) Sets predefined cell values (single-select columns) by forwarding the row ID, column property and list of values
VoidsetCellsPredefinedValues(String property, List<String> options)Sets predefined cells values (single-select columns) by forwarding the row ID, column property, and list of values
VoidsetCellErrorMessage(Integer oid, String property, String message)Sets the error message that will display below the cell by forwarding the row ID, column property, and error message
VoidsetCellValue(Integer oid, String property, String value) Sets the cell value by forwarding the row ID, column property, and value
VoidsetCellsValue(String property, String value) Sets the cell values by column property and value
VoidsetSource(List<Object> source) Sets the source of the table controller by forwarding the list of objects
VoidshowCell(Integer oid, String property)Displays the cell by forwarding the row ID and column property
VoidshowColumn(String property)Displays the column by forwarding the column property
VoiduncheckSelection(Integer oid)Deselects the Boolean cell by forwarding the row ID