Using jQuery plugin called jQuery File Tree
Do not know if you know this plugin but basically it displays a tree. I'm having trouble using it, and would like your help to use this plugin.
This link has a presentation of the plugin.
Basically I have the project groups and projects where I display the tree, eac开发者_运维知识库h project within their respective group. And once the user clicks on the group, the group is expanded showing all projects that group.
Here is an example of use.
My environment is asp.net (C #)
I would like to use this plugin to display the group's projects and projects under the tree:
Follow the link for a code, as far as I could do. I would like to view the ul and li tags in the tree.
The FileTree plugin uses a folder structure on the server to build a tree on the front-end. The root
parameter is supplied to the script specified in the script
parameter. The script uses the root
parameter to build a child tree of "files" under that folder.
That means, you have to create a script (e.g. HttpHandler) and supply the URL of that script in the script
parameter. In your script, you use the root
parameter to retrieve and return child elements.
Hope that helps.
精彩评论