admin管理员组

文章数量:1279187

Could you propose open source, but mercial-friendly licensed (non-GPL) Javascript trees?

Please take into account that I need it for an existing Web application, so I am not sure whether other tools such as GWT or Echo would be appropriate.

I have already checked:

  • Dojo Tree
  • jQuery.Dynatree.js (JQuery)
  • JSTree (JQuery)
  • Mif.Tree (Mootools)
  • YUI Tree (Yahoo User Interface)

I have ruled out DHTMLX and ExtJS (both GPL, they require the whole project to be GPLed).

Thanks in advance for your suggestions!

UPDATE: This question is old, the above list should no longer be taken into account. I'm sure there are more and better alternatives now.

Could you propose open source, but mercial-friendly licensed (non-GPL) Javascript trees?

Please take into account that I need it for an existing Web application, so I am not sure whether other tools such as GWT or Echo would be appropriate.

I have already checked:

  • Dojo Tree
  • jQuery.Dynatree.js (JQuery)
  • JSTree (JQuery)
  • Mif.Tree (Mootools)
  • YUI Tree (Yahoo User Interface)

I have ruled out DHTMLX and ExtJS (both GPL, they require the whole project to be GPLed).

Thanks in advance for your suggestions!

UPDATE: This question is old, the above list should no longer be taken into account. I'm sure there are more and better alternatives now.

Share Improve this question edited Oct 16, 2014 at 7:05 Markos Fragkakis asked Dec 10, 2009 at 12:32 Markos FragkakisMarkos Fragkakis 7,78118 gold badges68 silver badges106 bronze badges 5
  • Reads like you've done your due diligence! – Upperstage Commented Dec 10, 2009 at 12:53
  • were you able to find one ? Thanks! – gekrish Commented Aug 11, 2010 at 17:30
  • 1 Hi and sorry for the delay. Among the above trees we chose JSTree, but at the end we used JSF and the ponent library Richfaces, which also includes a tree. – Markos Fragkakis Commented Aug 13, 2010 at 18:31
  • Would be nice to hear what you found wrong with the ones you listed :-) (Before I have to make the same mistakes you did..) I also found this unordered list: jQuery Plugin Registry tagged "tree" – Peter V. Mørch Commented Oct 15, 2014 at 17:40
  • Consider visiting my own Tree Class. npmjs./package/@dsinjs/binary-tree help/sugguestions will be appreciated.:) – Siddhesh Kulkarni Commented Nov 29, 2020 at 19:20
Add a ment  | 

3 Answers 3

Reset to default 4

jsTree seems best.

  • Open source: MIT license
  • Features: lazy loading, context-menu, keyboard navigation, drag & drop, inline editing, customizable, CDN hosted.
  • Stackoverflow has 2,045 questions tagged with jsTree
  • Alexa page rank of jstree. is better than others

Other close contenders:

  1. Fancytree (upgraded version of Dynatree)
  2. zTree

I wrote this ponent: https://github./u1ui/tree1.el

Its easy as:

<link href="https://cdn.jsdelivr/gh/u1ui/[email protected]/tree1.min.css" rel=stylesheet>
<script src="https://cdn.jsdelivr/gh/u1ui/[email protected]/tree1.min.js" type=module></script>


<u1-tree1 aria-expanded=true>root
    <u1-tree1>Folder 1
        <u1-tree1>File 1.1</u1-tree1>
    </u1-tree1>
    <u1-tree1>Folder 3
        <u1-tree1>File 3.1</u1-tree1>
        <u1-tree1>File 3.2</u1-tree1>
    </u1-tree1>
</u1-tree1>

I use this one:

http://bassistance.de/jquery-plugins/jquery-plugin-treeview/

本文标签: ajaxBest opensource javascript treeStack Overflow