Skip to content
TreeViewItemDataBase

UI / TreeViewItemDataBase

TreeViewItemDataBase Class

Tree View Node Data Base Class

Table of contents

Accessors

baseGuid(): number other
The unique identification serial number of the node data, independent of the position
children(): TreeViewItemDataBase[] other
All child nodes
ownerTreeView(): TreeView
Retrieve the tree view to which the node belongs
parent(): TreeViewItemDataBase other
Parent Node
widgetCanvas(): Widget other
The UI corresponding to the data of this node

Accessors

baseGuid

get baseGuid(): number other

The unique identification serial number of the node data, independent of the position

Returns

number

children

get children(): TreeViewItemDataBase[] other

set children(childrenData): void other

All child nodes

Returns

TreeViewItemDataBase[]Return all current child nodes

Set child nodes

Parameters

childrenData TreeViewItemDataBase[]Usage: New child nodes

ownerTreeView

get ownerTreeView(): TreeView

Retrieve the tree view to which the node belongs

Returns

TreeView

parent

get parent(): TreeViewItemDataBase other

set parent(parentData): void other

Parent Node

Returns

TreeViewItemDataBaseReturn the current parent node

Set the parent node. If there is an existing parent node or a root array belonging to treeView.listItems, it will be removed from it and added to the new parent node parentData.children

Parameters

parentData TreeViewItemDataBaseUsage: New parent node

widgetCanvas

get widgetCanvas(): Widget other

The UI corresponding to the data of this node

Returns