TableViewFunctions

Last Updated:

Actions for working with TableView objects


[How To Read This Reference]
ActivateTableRow
WR
Activate the specified row in the table.
GetCellValue
WR
Get the value of a cell at a certain row and column
GetRowCount
WR
Get a count of how many rows are in the table
SetSelectedColumn
WR
Set the current column of to the one specified.
SetSelectedRow
WR
Set the current row of to the one specified.
SetTableCellData
WR
Set a specific cell to the specified value.
VerifyCellValue
WR
Verify the contents of a particular cell at position row, column.

TableViewFunctions::ActivateTableRow
WR

Activate the specified row in the table.

Activate the specified row in the table.

Fields: [ ]=Optional with Default Value
  1. Row
    The row number to activate.

    Activates the row to the one specified here

Examples:
  • T, WINDOWNAME, COMPNAME, ACTIVATETABLEROW, 5
    Activates row number 5


[How To Read This Reference]

TableViewFunctions::GetCellValue
WR

Get the value of a cell at a certain row and column

The variable in the parameter will be set to the value of the specified row and column.

Fields: [ ]=Optional with Default Value
  1. VariableName
    The variable that the data will be stored in.


  2. Row
    The row that the data will be extracted from


  3. Column
    The column that the data will be extracted from.


Examples:
  • T, WINDOWNAME, COMPNAME, GetCellValue, VARIABLENAME, 1, 1
    The variable VARIABLENAME will be created with the value of the cell at location 1, 1 in the table.


  • T, WINDOWNAME, COMPNAME, GetCellValue, "^VARIABLENAME", 1, 1
    The variable VARIABLENAME will be created with the value of the cell at location 1, 1 in the table.


  • T, WINDOWNAME, COMPNAME, GetCellValue, VARIABLENAME, ^row=1, ^column=1
    The variable VARIABLENAME will be created with the value of the cell at location 1, 1 in the table.


[How To Read This Reference]

TableViewFunctions::GetRowCount
WR

Get a count of how many rows are in the table

The variable in the parameter will be set to the number of rows in the table.

Fields: [ ]=Optional with Default Value
  1. RowCount
    The variable that the number of rows will be stored in.


Examples:
  • T, WINDOWNAME, COMPNAME, GetRowCount, VARIABLENAME
    The variable VARIABLENAME will be created with the value number of rows will be assigned to the variable.


[How To Read This Reference]

TableViewFunctions::SetSelectedColumn
WR

Set the current column of to the one specified.

In the tableview the current column will be set to the one specified in the command parameter.

Fields: [ ]=Optional with Default Value
  1. Column
    The column number that the TableView should be set to.

    Set the current column to the one specified in this parameter.

Examples:
  • T, WINDOWNAME, COMPNAME, SETSELECTEDCOLUMN, 5
    Sets the current column to column number 5


[How To Read This Reference]

TableViewFunctions::SetSelectedRow
WR

Set the current row of to the one specified.

In the tableview the current row will be set to the one specified in the command parameter.

Fields: [ ]=Optional with Default Value
  1. Row
    The row number that the TableView should be set to.

    Set the current row to the one specified in this parameter.

Examples:
  • T, WINDOWNAME, COMPNAME, SETSELECTEDROW, 5
    Sets the current row to row number 5


[How To Read This Reference]

TableViewFunctions::SetTableCellData
WR

Set a specific cell to the specified value.

Set the cell at the specified position in the table to a specific value. The user must make sure that the values indicated in the command are valid as far as the row and column specification of the table.

Fields: [ ]=Optional with Default Value
  1. Row
    The row that the cell you want to set is in.


  2. Column
    The column that the cell you want to set is in.


  3. TextValue
    The text value to set the cell value to.


Examples:
  • T, WINDOWNAME, COMPNAME, SETTABLECELLDATA, 5, 7, "Cell Value"
    Sets the cell in the table at position 5, 7, to the value "Cell Value"


  • T, WINDOWNAME, COMPNAME, SETTABLECELLDATA, 5, 7, ^CellValue
    Sets the cell in the table at position 5, 7, to the value of ^CellValue


[How To Read This Reference]

TableViewFunctions::VerifyCellValue
WR

Verify the contents of a particular cell at position row, column.

The data is verified to equal the value of EXPECTED value at the specified row and column.

Fields: [ ]=Optional with Default Value
  1. ExpectedText
    The value that the data in the cell is expected to equal.


  2. Row
    The row number of the cell to be verified.


  3. Column
    The column number of the cell to be verified.


Examples:
  • T, WINDOWNAME, COMPNAME, VERIFYCELLVALUE, "The string to equal", ROW, COLUMN
    The cell at ROW, COLUMN is verified equal to "The string to equal"


  • T, WINDOWNAME, COMPNAME, VERIFYCELLVALUE, ^ExpectedString, ROW, COLUMN
    The cell at ROW, COLUMN is verified equal to the DDVariable value ^ExpectedString.


[How To Read This Reference]