The element displays a JobRouter subtable view, which in turn reveals subtable data and allows them to be modified.
There are four buttons that can be individually hidden or shown in the subtable view:
•Add rows
•Delete lines
•Copy lines
•Templates
In addition, there is an input field in which the user specifies the count of lines to be added or copied.
Property |
Description |
|---|---|
Name |
Element name |
Label |
Label that will appear in the left column |
Info text |
Text to be displayed in a balloon help |
Subtable view |
Selection of the subtable view |
Settings |
|
Width |
Width of the subtable view in pixels |
Height |
Height of the subtable view in pixels |
Number of rows |
Number of rows displayed while the subtable view is still empty. |
Minimum number of rows |
Minimum number of rows that the element should contain when sending the step. This setting is also taken into account when rows are deleted. |
Maximum number of rows |
Maximum number of rows that the element may contain when sending the step. This setting is also taken into account when rows are added |
Add rows |
The user can add rows |
Remove rows |
The user can delete lines |
Copy lines |
The user can copy lines |
Templates |
Templates should be able to be used for these subtable views. |
Disabled |
The subtable view is disabled |
Hidden |
The element will be hidden |
Scripting |
|
BeforeAdd |
Script to be executed before a row gets inserted |
AfterAdd |
Script to be executed after a row gets inserted |
BeforeRemove |
Script to be executed before a row gets deleted |
AfterRemove |
Script to be executed after a row gets deleted |
Please note: All SUBTABLE_VIEW scripting functions will be called for every row. If you add or delete multiple rows at once, the corresponding function will be called multiple times.
All SUBTABLE_VIEW scripting functions are callback functions. This means you are only allowed to give them the name of a user defined JavaScript function (without parenthesis or semicolon). For more information on callback functions, see the "JavaScript API" manual.
Depending on the callback function, up to 3 parameters may be passed:
1st parameter: Subtable view object
2nd parameter: The row as HTML string when using BeforeAdd, the row as DOM object when using AfterAdd, BeforeRemove or AfterRemove
3rd parameter: String insert or delete
Subtable views are marked with a symbol in the form editor.