Table Control
The Table control creates a table with a fixed number of columns and a variable number of rows that are added at run time. The Table control has the following properties:
Identifier. The unique identifier for the control. This is the identifier to use when referencing the control in the script template.
Title. An optional title that appears above the control. For multi-line titles, use \n to specify line breaks.
ToolTip. Optional ToolTip text that appears when the user hovers over the control.
Mnemonic Key. An optional character in the title to use as a keyboard shortcut to the control. The character appears underlined in the title. The shortcut is activated by pressing Alt+[mnemonic key].
Reorder Buttons. Specifies whether move up and move down buttons are added to the table. These buttons are used at run time to reorder the rows of the table.
Table Columns. Click the ellipsis (...) button to open the Table Columns dialog box, where you specify the columns of the table.
Minimum Rows. The minimum number of rows that must be in the table.
Maximum Rows. The maximum number of rows that can be in the table.
Required for Execution. Specifies whether a value is required in this control in order for execution to proceed. If True is specified, the user of the node dialog must specify a value for the control otherwise clicking the OK button will generate an error. If False is specified, the absence of a value in this control has no effect on the state of the OK button.
Script.Specifies the R script or Python for Spark script that is generated by this control at run time and can be inserted in the script template.
- The value %%ThisValue%% specifies the run time value of the control and is the default. The run time value is a blank-separated list of the script that is generated by each column in the table, starting with the leftmost column. If the Script property includes %%ThisValue%% and none of the columns generate script, then the table as a whole does not generate any script.
- You can specify any valid R script or Python for Spark script. For multi-line scripts or long scripts, click the ellipsis (...) button and enter your script in the Script Property dialog.
Enabling Rule. Specifies a rule that determines when the current control is enabled. Click the ellipsis (...) button to open the Enabling Rule dialog box and specify the rule. The Enabling Rule property is visible only when other controls that can be used to specify an enabling rule exist on the canvas.