This creates a new column with
the heading "Description". The column values are taken from the variables
V[descr.1], V[descr.2],...
Format
Column "heading" size=x
name="varname"
(options)
A new column with the heading
"heading" is appended to the table. The column width (also maximum input
size) is x. The variables V[varname.1], ... are mapped to the column values
(input and output), where the index 1,2,3,,, denotes the absolute row number
within the whole table control (not only within the the visible part). It
is also possible to use another column as index, instead of 1,2,3; see option
keyColumn=.
Options
table=
A table
T[tabname]
can be specified. This option is required if there is more than
one table control on the screen.
position=
Position of the column within the table.
keyColumn=
Instead of using the row number as index, you specify a column whose
values are used as index. For example, you specify
keyColumn=[Item]
where [Item] is the table column that contains the item number within
the document. If you allow input in your column, and the user is
allowed to delete certain rows or to insert new ones later on, the
absolute row number would not be a useful index, since it would
change when rows are deleted or inserted. Please see InputAssistant
Tutorials for an example.
-numerical
Numerical
input only
-upperCase
Uppercase input only
-intensified
The field value is displayed with a different colour (standard:
red)
-alignRight
The field value is aligned right in readonly mode.
-readOnly
Input
not possible
-proportionalFont
The column display uses a proportional font (e.g. for text fields).
-checkBox
The column value is displayed as a checkbox. Possible values are
"X" and " "
-pushButton
The column shows a pushbutton
process=
For pushbutton columns only: Name of the InputScript that is to
be processed. The number of the row in which the button is clicked is contained in
V[_tabrow].
It is the relative number in the display, not an absolute number
on the table.
label=
Pushbutton label. Optionally you can show an icon and a tooltip
using the notation "@id\Qtooltip@text".
For details see the
Pushbutton
documentation.
If you do not specify
label=,
the content of the variables (name=) is used as the
button label. With this technique the label can be different in
each row.
techName=
searchHelp=
Further
searchhelp
options
Defines the searchhelp
for the new column. Same options and meaning as in
InputField.
This creates a table column
displaying a pushbutton in each row. The icon with id
"E8"
is shown as a button label, with tooltip
"Additionals".
When the user clicks one of the buttons the InputScript
"va01_vh.txt"
is started. The row number is communicated to the InputScript via the system
variable
V[_tabrow].
This is the relative row number in the display, which, after scrolling,
can be different from the absolute row number in the table. The InputScript
selects the line and then enters the function code
"=PADD"
in order to switch to the
"Additionals"
screen in VA01 for the selected order item.
GuiXT
// InputScript va01_vh.txt
Set cell[All items,0,&V[_tabrow]] "X"
Enter "=PADD"