PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Overview
  • How to?
  • Creating a TreeView Table control on source
  • 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
Windows The TreeView Table control is now available for the WEBDEV sites.
New in version 18
Windows The TreeView Table control is now available for the WEBDEV sites.
Windows The TreeView Table control is now available for the WEBDEV sites.
How to?
WINDEV

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".
  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.

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.
  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 version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment