|
- Overview
- How to?
- Creating a browsing TreeView Table control
- Creating a browsing TreeView Table control
- Defining the sources for the browsing TreeView Table control
- Defining the links for the columns of the browsing TreeView Table control
The browsing TreeView Table control
A browsing TreeView Table control is a treeview table linked to a data file or to a query. In this case, the TreeView Table can only be linked to a data file or a query loaded in memory. Versions 18 and later New in version 18 Versions 18 and later New in version 18Defining the sources for the browsing TreeView Table control To define the sources of the browsing TreeView Table control: - Click the "Add" button. A "<None>" source is automatically added.
- Define the characteristics of this source:
- Source: corresponds to the data file or to the query that will be browsed.
- Browse: corresponds to the search key used to browse the source.
- Displayed: corresponds to the item displayed in the first column of the TreeView Table control.
Remark: For each level, you have the ability to customize the collapsed image and the expanded image.
- Define (if necessary) the source of the link for the previous level. For example, if the first level browses the Customer data file, the second one can browse the Orders data file for example. The "Customer.CustomerID" and "Orders.CustomerID" items will be used for the link. By default, the source of the link is automatically deduced from the items and the links defined in the analysis.
- Define as many sources as necessary.
The first column of the TreeView Table control displays the "Displayed" data from the selected sources. Special case: Recursive browsing TreeView TableA browsing TreeView Table control can display records that depend on the previous record (classic case of a recursive link used to manage a parent/child) To manage this type of TreeView Table, a reflexive link can be defined in the "Content" tab of the control description window. The "root" rows are associated with a record for which the link item corresponds to 0 or empty (according to the type of item). Defining the links for the columns of the browsing TreeView Table control By default, the first column of the browsing TreeView Table control (column representing the hierarchy) displays the elements specified in the sources ("Content" tab, "Displayed" value of the different sources). The TreeView Table control can also display other data in its other columns. To define the links of the different columns: - Create a new column if necessary ("New" in the description window of the TreeView Table control) or select an existing column.
- Display the "Link" tab and define the requested link. The link can be:
- single-file: in this case, the link affects one of the source files of the TreeView Table control.
If one of the records displayed by the TreeView Table control is modified, this modification is automatically applied to the associated data file. - multi-file: in this case, the link can be performed with one of the files linked to one of the source files.
If one of the records displayed by the TreeView Table control is modified, this modification will not be automatically applied to the associated data file. It must be managed by programming.
- Validate.
This page is also available for…
|
|
|
| |
| Click [Add] to post a comment |
|
| |
|
| |
| |
| |
| |
| |
| |
| | |
| |