User Guide

Please email training@callscripter.com for omissions or errors.
×
Menu

Table Control

Available from v4.5.30 onwards
 
Change Type
Description
Version Number
New control
N/A
4.5.30+
Enhancements
  • Show all controls and not just those that retain a value (so not just those shown in the Calculate fields available controls list)
  • Order can be determined by SQL statement if preferred, rather than by reference column overwriting anything specified in SQL query
  • Pagination options only show when items returned exceed display number
4.5.31
Enhancement
Agent search of results initiates on enter button press
4.5.35
Enhancement
Table controls that pass data between each other using "update link"now functioning as expected
4.5.37
 
 
Table Control
 
The Table Control allows the script builder to:
 
 
In-script, the control appears as follows:
 
 
Data can be sorted by clicking on the column headings.
 
1

Control Name

1. Control Name
Give your field an appropriate name.  This is particularly important if using it in a calculation or report.  Changing a field name will not automatically update corresponding reports that use that field.
2

Multiple Select

2. Multiple Select
If selected, this option allows the user to select more than one option from the table. Where this is checked, the reference field id(s) are returned to the table control field as a comma separated list.
 
Where multiple select is checked and the data has been mapped back to script fields, each script field will display a comma separated string, e.g., "1, 2, 3", or "red, green, blue".
3

Rows to Display

3. Rows to Display
Specifies the height of the control in rows.  Where "Rows to Display" is set to less than the number of returned results, the current page, and number of pages is displayed below as follows:
 
4

Advanced Properties

4. Advanced Properties
Defines the query which populates the control.
 

Step 1:

Select the type of database connection. More information on database integration can be found under the Data Controls control.
 
 

Step 2:

Define the query which will be used to populate the grid.
 
 

Step 3:

Specify the appearance of the columns in the grid view:
  • Display As will change the name of the column.
  • Searchable will add a search field to the top of the column to allow the agent to filter results.
  • Width defines how wide the column will appear in pixles.
  • Hidden when checked will hide the column from view, but will still return data.
  • Ref must be a unique identifier for the selected record.  If a non-unique column is selected, when the agent clicks on a record, any others with same Ref will be selected automatically.  By default, this value is written to the table control field itself.
 

Step 4:

Map the returned data to script fields.
  • Update Link allows the auto clicking of a control when a row is selected - this would be used where the script builder wants to carry out further functions on the data returned by auto clicking another control (usually a Button)..  Specify the control to "click" in the Update Link dropdown.
  • Field/Variable selects which script fields or variables the columns map to.
 
 
Click Finish.  When the script is run the Table control displays results as follows (this screen shot includes showing how a selected record writes the data back to Text Boxes):