jQuery 哪种jQuery treeview最适合需求?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2975790/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Which jQuery treeview is the most appropriate for the demand?
提问by Elaine
Here comes a requirement and i'm still at the beginning of choosing jQuery treeview plugin, which should support c# web service. the datasource is really a big one, so all treeview nodes must be collapsed defaultly. Once user click a node to expand, an extra parameter will be passed into the webmethod and populate its children treeview. I found there are many lightweight treeviews which populate a whole bunch of UL/LI DOM on pageload which is not what I want.
这里有一个需求,我还在选择jQuery treeview插件的开始,它应该支持c#web服务。数据源确实很大,所以默认情况下所有树视图节点都必须折叠。一旦用户单击一个节点进行展开,一个额外的参数将被传递到 webmethod 并填充其子树视图。我发现有许多轻量级树视图在页面加载时填充了一大堆 UL/LI DOM,这不是我想要的。
I found a page lists 8 jQuery treeviews. hardly to test one by one. http://www.programmingsolution.net/useful-js/jquery-treeview.php
我发现一个页面列出了 8 个 jQuery 树视图。很难一一测试。 http://www.programmingsolution.net/useful-js/jquery-treeview.php
Do anyone get the same exp to help me out? Thanks.
有没有人得到相同的经验来帮助我?谢谢。
回答by CemilF
This will not be an answer to your question as it was created on 2010, I just wanted to add this as reference, while this thread is the first answer on Google for a search like best jquery treeview
.
这不会是您的问题的答案,因为它是在 2010 年创建的,我只是想将其添加为参考,而此线程是 Google 上针对best jquery treeview
.
I will suggest DynaTree . DynaTree seems to be the most up to date and flexible TreeView plugin these days.
我会建议DynaTree。DynaTree 似乎是当今最新和最灵活的 TreeView 插件。
回答by Gal Margalit
For an advance view you should check jquery-treetable http://ludo.cubicphuse.nl/jquery-plugins/treeTable/doc/
对于高级视图,您应该检查 jquery-treetable http://ludo.cubicphuse.nl/jquery-plugins/treeTable/doc/
回答by Vladimir Georgiev
Checkout the Shield UI TreeView widget, remote data demo:
查看 Shield UI TreeView 小部件,远程数据演示:
http://demos.shieldui.com/web/treeview/remote-data
http://demos.shieldui.com/web/treeview/remote-data
It should give you all the remote endpoint functionality you need.
它应该为您提供所需的所有远程端点功能。