TreeGrid load data from rest api

Hello
I’m trying to load data from a rest api endpoint (json) in a treegrid and I’m not able to get it? Can you provide any example on how to load data from json (rest api)?

Thanks in advance

Victor

Here you cna find an example of loading the data to the treegrid from the external json file:
https://docs.dhtmlx.com/suite/samples/treegrid/01_init/02_load_json.html
If the problem still occurs for you please, provide a complete demo or share a demo link, where the problem can be reconstructed.