Reputation: 524
I would like to know if there is an easy way to list all the files in a directory on a webserver using Dojo's dijit.tree.
I suppose I could populate a datastore of the files using PHP, but that seems like a major pain and something that could be done much easier, I just can't think of anything else.
Any ideas?
Upvotes: 0
Views: 377
Reputation: 11
Check out "dojox/data/demos/demo_FileStore_dojotree.html", that's one specific way requiring php support on your server
Upvotes: 1
Reputation: 69934
Youll need to find a way to get the data from the server. Dojo can only handle things client-side
Upvotes: 1