The following table shows which table control options you can set dynamically. You have to specify the variables to be set and their values.
Overview of table control fields and options for setting attributes dynamically
Attribute |
Field |
Dyn. |
Variable |
Value |
Table type |
Entry table |
--- |
||
Table type |
Display table |
--- |
||
Configurability |
Configurability |
--- |
||
Vertical resizing |
vertical |
--- |
||
Horizontal separator lines |
horizontal |
yes |
mytable-H_GRID |
‘_’, ‘X’ |
Vertical separator lines |
vertical |
yes |
mytable-V_GRID |
‘_’, ‘X’ |
Selection column |
Line selection column |
yes |
mytable-LINE_SELECTOR |
‘_’, ‘X’ |
Line selection |
none |
yes |
mytable-LINE_SEL_MODE |
‘0’ |
Line selection |
single |
yes |
mytable-LINE_SEL_MODE |
‘1’ |
Line selection |
multiple |
yes |
mytable-LINE_SEL_MODE |
‘2’ |
Column selection |
none |
yes |
mytable-COL_SEL_MODE |
‘0’ |
Column selection |
single |
yes |
mytable-COL_SEL_MODE *) |
‘1’ |
Column selection |
multiple |
yes |
mytable-COL_SEL_MODE *) |
‘2’ |
Possible field types |
Text/keyword |
--- |
||
Column width |
visLg |
--- |
||
Fixed columns |
Fix |
yes |
mytable-FIXED_COLS ** |
Number ** |
Dyn. = can be set dynamcially; Number = number of fixed columns; ‘X’ = option is set
*) If the specific column and/or at least one column is selected, the mytable-COLS_SELECTED variable has the value ‘X’, otherwise ‘_’.
**)
Value = Number of fixed columns (starting from the left); the dynamic assignment overrules the assigmnent in the Screen Painter.