PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • How to proceed?
  • Creating a TreeView Table control on source
  • 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 codeWindowsLinux The TreeView Table control is now available for the WEBDEV sites.
PHP The TreeView Table control is now available for the PHP sites.
New in version 18
WEBDEV - Server codeWindowsLinux The TreeView Table control is now available for the WEBDEV sites.
PHP The TreeView Table control is now available for the PHP sites.
WEBDEV - Server codeWindowsLinux The TreeView Table control is now available for the WEBDEV sites.
PHP The TreeView Table control is now available for the PHP sites.
How to proceed?
WINDEVWINDEV Mobile

Creating a TreeView Table control on source

To create a TreeView Table control on source:
  1. In the window editor, click (or select "Insert .. Control .. TreeView table").On the "Creation" pane, in the "Data" group:
    • WINDEV expand "Table and list box" and select "TreeView Table".
    • WINDEV Mobile expand "Table" and select "TreeView Table".
  2. Click the position where the control will be created in the window.
  3. Display the "Content" tab of the description window of the Treeview table control. Select the fill mode: "By variable".
    This tab is used to define the different sources of the treeview table. Indeed, a variable treeview table is linked to different sources, used to display nested records.
  4. Define (if necessary) the links of the different columns found in the treeview table.
Versions 18 and later
WEBDEV - Server code

Creating a browsing TreeView Table control

To create a browsing TreeView Table control:
  1. On the "Creation" pane, in the "Data" group, expand "Table" and select "TreeView Table".
  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 browsing treeview table is linked to different sources, used to display nested records.
Note: 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. On the "Creation" pane, in the "Data" group, expand "Table" and select "TreeView Table".
  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 browsing treeview table is linked to different sources, used to display nested records.
Note: 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. On the "Creation" pane, in the "Data" group, expand "Table" and select "TreeView Table".
  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 browsing treeview table is linked to different sources, used to display nested records.
Note: 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 Note: 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" button of the description window of the treeview table) or select an existing column.
  2. Display the "Link" tab and define the requested link.
    Note: 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 required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment