Table interaction

The Genero BDL API for GGC provides functions for interacting with tables.

Table 1. Functions for interacting with tables
Function Description
getColumnValue(
   tableName  STRING,
   columnName STRING,
   row  INTEGER )
  RETURNS STRING
Get the column value of a table, tree, or screen record at the specified row.
getColumnValues(
   tableName  STRING,
   columnName STRING )
  RETURNS DYNAMIC ARRAY OF STRING
Get column values of a table, tree, or screen record.
hideTableColumn(
   tableName  STRING,
   columnName  STRING )
Hide a table column.
setCellFocus(
   tableName  STRING,
   columnName  STRING, 
   row  INTEGER)
Select a cell in a table.
setRowFocus(
   tableName  STRING,
   row  INTEGER)
Select a table row.
setRowSelection(
   tableName STRING,
   selectionMode STRING,
   startIndex INTEGER,
   endIndex INTEGER)
Update a multiple row selection state.
setTableOffset(
   tableName  STRING,
   pageSize   INTEGER )
Set the table page size offset value.
setTableSize(
   tableName  STRING,
   size  INTEGER )
Set the table size.
showTableColumn(
   tableName  STRING,
   columnName    STRING )
Show a hidden table column.
sortTable(
   tableName  STRING,
   columnName  STRING, 
   sortType STRING)
Sort a table.