> For the complete documentation index, see [llms.txt](https://muradkarakas.gitbook.io/sodium_documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://muradkarakas.gitbook.io/sodium_documentation/language-reference/built-in-functions/sodium-built-in-functions/other-functions/refresh_tree_node.md).

# refresh\_tree\_node

`refresh_tree_node` function has 1 variant:

{% tabs %}
{% tab title="Variant 1" %}

#### Declaration

```
void refresh_tree_node(char blockAndTreeName, char node_id_to_be_refreshed);
```

#### Description <a href="#description" id="description"></a>

1. `Needs` [`tree tag`](https://sodium.gitbook.io/sodium/language-reference/html-tags/sodium-tags/tree-element)`in`[`form file`](https://sodium.gitbook.io/sodium/language-reference/program-structure/form-file)​
2. Reloads child nodes of the node with `node_id_to_be_refreshed` (does not reload itself). If you want to reload and draw the node `node_id_to_be_refreshed`, call this function with the parent id of the `node_id_to_be_refreshed.`

For detail on json data format: <https://www.jstree.com/docs/json/>​

#### Parameters <a href="#parameters" id="parameters"></a>

`char blockAndTreeName`

`char node_id_to_be_refreshed`

#### Return Value <a href="#return-value" id="return-value"></a>

#### Example <a href="#example" id="example"></a>

{% endtab %}
{% endtabs %}
