TreeList.loadFrom

Syntax

loadFrom (jsonData);

Parameters

jsonData. An array of JSON objects with the fields corresponding to properties of the class PP.Ui.TreeNode.

Description

The loadFrom method inserts an array of tree elements into node and removes all children the node had before that.

Example

The example of method use is given in the Example of the TreeList Component Dynamic Creation page.

See also:

TreeNodes