|
Data Table Editor |
Top Previous Next |
|
The Data Table Editor (DTE) is a component used to edit or view a single Data Table. It is used by the Properties Editor to edit context variables, by the Event Log to view Data Tables associated with events, by the Edit Data UI Procedure to edit function input parameters and view its output, etc.
Most elements of the Data Table Editor, such as column headers and data cells, usually have tooltips which pop up when the mouse hovers over the element. The tooltip for the column header contains the field type and help string specified in the table's format, if any. The tooltip for a cell contains a string representation of the cell's value, and the type of field used for this cell. For example, it may be useful:
Table columns can be resized and reordered. To resize a column click on its margin and drag the mouse to left or right. To change column order, drag the column header and drop it in a new location. Double-clicking the separator between headers of two columns will auto-fit the left-hand's column width (i.e, resize it to fit everything in it).
Data Table Editor may work in two modes:
In the read-only mode editing is disabled. There are also two data presentation modes:
In multiple records mode, the table header shows the description for every column, and every row represents one Data Table record:
Single record mode is used by the DTE when the table being edited contains just one record, and no extra records may be added. This mode features a two-column layout: the left column shows field names, and the right one contains values:
The Data Table Editor toolbar provides access to the operations that may be performed with the data table.
Some (or even all) toolbar buttons may be hidden or disabled if their respective operations are not available in the editor. A button is hidden if the operation is not applicable to the current table at all. If an operation is simply not available at the moment (e.g. the Remove Selected Rows is disabled when no rows are selected), its button is disabled. Processing Data Bindings The Data Table Editor handles bindings contained in the format definition of the Data Table being edited. When the editor loads, it reads the list of bindings for the table and processes them in the background. Bindings are evaluated and used to change cells in the table being edited. Binding expressions used by Data Table Editor may contain relative links to the cells of the table being edited, along with links to data from various contexts. To find out how to create these links, learn more about data bindings here. |