PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • Overview
  • How to do it?
  • Creating a browsing TreeView Table control
  • Defining the sources of the treeview table
  • Defining the links of the different columns in the treeview table on source
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
TreeView table on source
Overview
A TreeView Table control on source is a treeview table linked to a variable or to a set of variables.
Versions 18 and later
WEBDEV - Server codeWindows The TreeView Table control is now available for WEBDEV sites.
PHP The TreeView Table control is now available for PHP sites.
New in version 18
WEBDEV - Server codeWindows The TreeView Table control is now available for WEBDEV sites.
PHP The TreeView Table control is now available for PHP sites.
WEBDEV - Server codeWindows The TreeView Table control is now available for WEBDEV sites.
PHP The TreeView Table control is now available for PHP sites.
How to do it?
Versions 18 and later
WEBDEV - Server code

Creating a browsing TreeView Table control

To create a browsing TreeView Table control:
  1. 0
  2. The TreeView Table creation wizard starts.
  3. In the wizard, select "Display the data from an existing variable". Go to the next step.
  4. Define the different sources of the TreeView Table. Indeed, a hierarchical table HEX@ is linked to different sources, making it possible to display nested records.
Remark: If this information is not specified in the wizard, the data can be modified in the "Content" tab of control.
New in version 18
WEBDEV - Server code

Creating a browsing TreeView Table control

To create a browsing TreeView Table control:
  1. 0
  2. The TreeView Table creation wizard starts.
  3. In the wizard, select "Display the data from an existing variable". Go to the next step.
  4. Define the different sources of the TreeView Table. Indeed, a hierarchical table HEX@ is linked to different sources, making it possible to display nested records.
Remark: If this information is not specified in the wizard, the data can be modified in the "Content" tab of control.
WEBDEV - Server code

Creating a browsing TreeView Table control

To create a browsing TreeView Table control:
  1. 0
  2. The TreeView Table creation wizard starts.
  3. In the wizard, select "Display the data from an existing variable". Go to the next step.
  4. Define the different sources of the TreeView Table. Indeed, a hierarchical table HEX@ is linked to different sources, making it possible to display nested records.
Remark: If this information is not specified in the wizard, the data can be modified in the "Content" tab of control.

Defining the sources of the treeview table

To define the sources of the treeview table:
  1. Click the "Add" button. A "<None>" source is automatically added.
  2. Define the characteristics of this source:
    • Source: corresponds to the variable that will be browsed (advanced variable such as Google, RSS, ...).
    • Browse: corresponds to the variable used to browse the source.
    • Displayed: corresponds to the variable displayed in the first column of the treeview table.
      WEBDEV - Server code Remark: For each level, you have the ability to customize the collapsed image and the expanded image.
  3. Define (if necessary) the source of the link for the previous level. For example, if the first level browses the garrCustomer variable, the second one can browse the garrCustomer.Order variable.
  4. Define as many sources as necessary.
The first column of the treeview table displays the "Displayed" data of the different selected sources.

Defining the links of the different columns in the treeview table on source

By default, the first column of the treeview table on source (column representing the hierarchy) displays the elements specified in the sources ("Content" tab, "Displayed" value of the different sources).
The treeview table can also display other data in its other columns.
To define the links of the different columns:
  1. Create a new column if necessary ("New" in the description window of the TreeView Table control) or select an existing column.
  2. Display the "Link" tab and define the requested link.
    Remark: The link affects one of the source variables of the treeview table. If a modification is performed in the elements displayed by the treeview table, this modification is automatically applied to the associated variable.
  3. Validate.
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment