ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / TreeView Table functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Deletes all child rows from a branch of the hierarchy. The branch itself is not deleted.
Example
// Deletes all child rows of "Desserts" element
TableDeleteChild(TVT_Recipe, "Desserts")
Syntax

Deleting the child rows from a branch by specifying its index Hide the details

TableDeleteChild(<TreeView Table control> , <Index of the parent element>)
<TreeView Table control>: Control name
Name of the TreeView Table control to be used. If this parameter corresponds to an empty string (""), the control to which the current event belongs will be used.
<Index of the parent element>: Integer
Index of the row whose child rows will be deleted.

Deleting the child rows from a branch by specifying its name Hide the details

TableDeleteChild(<TreeView Table control> , <Name of parent element>)
<TreeView Table control>: Control name
Name of the TreeView Table control to be used. If this parameter corresponds to an empty string (""), the control to which the current event belongs will be used.
<Name of parent element>: Character string
Content of the first column of the element whose all child rows must be deleted.
Business / UI classification: UI Code
Component: wd290obj.dll
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help