How do i can change loadStruct url in treeView


#1

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.


#2

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