Jason Macgowan
Jason Macgowan

Reputation: 524

Dijit.tree - Listing a directory on webserver

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

Answers (2)

David Artz
David Artz

Reputation: 11

Check out "dojox/data/demos/demo_FileStore_dojotree.html", that's one specific way requiring php support on your server

Upvotes: 1

hugomg
hugomg

Reputation: 69934

Youll need to find a way to get the data from the server. Dojo can only handle things client-side

Upvotes: 1

Related Questions