If your host screens contain data that is displayed in columns and rows, tables offer you a convenient method for tailoring the presentation of that data in your customized Web application.
There are numerous ways in which you can implement table controls to modify the appearance of tabular data. The most basic way to display host data in tabular form is to use a host table bound to a table control form. For a host table that spans multiple pages, you could display all of the data from that table in a single table control, on a single page of your customized Web application.
|Scroll bars are automatically added to tables when needed, making all of the data accessible to the user.|
You could also use rules to filter the data coming from the host table to the table control, to control or stop the data flow from the host, and to hide secure data from the end user.
If you wanted, you could send data from a table to the host. One way to do this would be to set up a table with commands from various menus, which the user would double-click to navigate to the next screen.
You view the properties of host tables and host table columns from the Table editor.
|Selection Rule||An expression that is used to determine which records are displayed. The expression is compared to each record. When a record matches the expression, that record is displayed. If the Selection Rule is left blank, every record in the table is displayed. (Default value: True.)|
|Columns||The names of the columns that have been defined for this table control.
This property cannot be edited directly. To edit a table control column, double-click the column name. The Table Column editor displays.
|Termination Rule||An expression that is used to specify the end of the displayed table data. The expression is compared to each record. When a record matches the expression, that record and any following records are not displayed. If no record matches the Termination Rule expression, or if the Termination Rule is left blank, every record in the table is displayed. (Default value: True.)|
|Column Name|| The name of the column (read-only). This name is automatically generated when the table control is created.
This name cannot be changed, as it must be accessed by the rules. For further details, see Table Rules Syntax.
|Column Header||The name displayed at the top of a column in a table control.|
|Column Width||The width of the column, in pixels.|
|Visible||Determines whether the column is displayed. Select True to display it, or False to hide it.|
|Header Foreground||The color of the text in the column header. This can be set for each cell, or for the header row.|
|Header Background||The background color for the column header. This can be set for each cell, or for the header row.|
|Header Font||The font used for the column header.|
|Data Alignment||Determines the alignment of data. Select Left, Right, or Center.|
|Default Value Column||In a table with output binding, the column from which data will be sent to the host. If you choose <NONE>, data from the selected cell will be sent to the host.|
The following properties are also available:
Background, Border, Enabled, Font, Foreground, Name, On Double Click, Opaque, Screen Binding, Tab Index, ToolTip, Width and Height, X and Y.
|Binding Host Tables to Table Controls|
|Adding Events to Controls|