I’m wondering if there are any example scripts (php or other) that demonstrate how to use the tree with lazy loading, so that it only returns any children when the parent folder is clicked?
From what I’ve read it seems like one has to create/keep a mapping of id → file reference to do this?
Any help/info would be much appreciated,
Please, look at this sample:
dhtmlx.com/docs/products/dhtmlxT … _json.html
It must help you.
Thank you for your reply. I have seen the “Autoloading from JSON” example, and although it does help some, whatI am really looking for is the source to the php/json.php script, or some other such script. I need to implement a similar solution locally but not quite sure the best way to do it. I need to display a tree based on a filesystem hierarchy. Any help is much appreciated.
Here is the json.php file
json.rar (291 Bytes)
Thank you Darya, much appreciated.