PC SOFT

WINDEV的在线文档

  • Overview
  • How to proceed?
  • 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
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系:info@cn.windev.com
产品
WinDevWebDev-服务器代码WebDev-浏览器代码WinDev Mobile报表和查询
平台
WindowsLinuxWindows MobileWindows PhoneWindows Store appsAndroidAndroid Widget iPhone/iPad
语言
JavaPHPAjax用户代码(MCU)外部语言
数据库
HFSQLHFSQL Client/Server存储过程HF 5.5OLE DBODBC本地访问

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.

18版本和更高版本
WindowsLinux The TreeView Table control is now available for the WebDev sites.
18新版本
WindowsLinux The TreeView Table control is now available for the WebDev sites.
WindowsLinux The TreeView Table control is now available for the WebDev sites.

How to proceed?
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 "创建" pane, in the "数据" group:
    • WinDev expand "Table and list box" and select "TreeView Table".
  2. Click the position where the control must be created in the window.
  3. Display the "Content" tab of the description window of the treeview table. Select the fill mode: "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 the 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.