populate_tree function has 1 variants:
populate_tree
void populate_tree(char treeName);
Needs tree tagarrow-up-rightinform filearrow-up-right
Needs
tree tag
in
form file
populate_tree function initializes the tree element. After successful initializing, "tree_node_expanded" Triggerarrow-up-right will be fired.
treeName property is a string and should have match the following format: block name + '.' + tree id
treeName
block name + '.' + tree id
For detail on json data format: https://www.jstree.com/docs/json/arrow-up-right
char treeName
Form file
<controlblock control-block-name="cbTree"> <tree id="data"></tree> </controlblock>
Sqlx file
Last updated 5 years ago
void page.load() { populate_tree('cbTree.data'); }