How do i can change loadStruct url in treeView

hi there.

i want change loadStruct url in treeView.

step1. (on page load)

  • myTreeView.loadStruct(‘/data.php?seq=11’)

step2. (tree open)

  • myTreeView.loadStruct(‘/data.php?seq={id}’)

how do i can?
Please reply to me.

Here you can find a tutorial about using the dynamic loading of data in the treeview:
https://docs.dhtmlx.com/treeview__loading_data.html#dynamicsubloading