{"id":3568,"date":"2016-06-02T12:00:22","date_gmt":"2016-06-02T08:00:22","guid":{"rendered":"http:\/\/dhtmlx.com\/blog\/?p=3568"},"modified":"2026-04-03T15:39:42","modified_gmt":"2026-04-03T12:39:42","slug":"tree-vs-treeview-whats-difference","status":"publish","type":"post","link":"https:\/\/dhtmlx.com\/blog\/tree-vs-treeview-whats-difference\/","title":{"rendered":"Tree vs. TreeView: What&#8217;s the Difference"},"content":{"rendered":"<p>\n        <div class=\"info-block\">\n            <div class=\"info-icon\">\n                <svg viewBox=\"0 0 14 16\">\n                    <path fill-rule=\"evenodd\" d=\"M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z\"><\/path>\n                <\/svg>\n\n                INFO\n            <\/div>\n\n            <div class=\"info-content\">\n                <p>\n                    If you are using an outdated version of DHTMLX Suite 5 and require the documentation for it, \n                    please <a href=\"https:\/\/dhtmlx.com\/docs\/contact.shtml\" title=\"\">contact us<\/a>, <br \/>and we will send it to you.\n                <\/p>\n            <\/div>\n        <\/div>\n    <br \/>\n<a href=\"https:\/\/dhtmlx.com\/docs\/products\/dhtmlxTreeView\/\" target=\"_blank\">dhtmlxTreeView<\/a> has joined dhtmlx components crew <a href=\"https:\/\/dhtmlx.com\/blog\/suite-5-0-material-design-new-treeview-control\/\" target=\"_blank\">recently<\/a>. It&#8217;s a JavaScript tree menu component for displaying tree structure in your app. &#8220;But wait!&#8221;, you may say, &#8220;We&#8217;ve already had dhtmlxTree for these purposes. What Tree should we choose now?!&#8221; Continue reading to get the answer and to know what&#8217;s the difference between <a href=\"https:\/\/dhtmlx.com\/docs\/products\/dhtmlxTree\/\" target=\"_blank\">dhtmlxTree<\/a> and dhtmlxTreeView, and what are our plans regarding the future of these widgets.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2016\/06\/treeview-vs-tree.jpg\" alt=\"treeview-vs-tree\" width=\"850\" height=\"500\" class=\"aligncenter size-full wp-image-3576\" srcset=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2016\/06\/treeview-vs-tree.jpg 850w, https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2016\/06\/treeview-vs-tree-300x176.jpg 300w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/p>\n<h5>Working with big datasets &#8211; TreeView<\/h5>\n<p>A long time ago in 2005 far, far away, dhtmlxTree was released. Since that time, the component was enhanced a dozen times and became one of the most powerful tree menu navigation controls in the industry. Though it&#8217;s still compatible with the modern browsers, dhtmlxTree lacks of fast rendering when we talk about big datasets. <\/p>\n<p>And here dhtmlxTreeView appears. A brand new component is capable to render more than 10000 records many times faster than old friend dhtmlxTree does!<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2016\/06\/speed-test-between-trees.png\" alt=\"speed test between trees\" width=\"815\" height=\"470\" class=\"aligncenter size-full wp-image-3573\" srcset=\"https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2016\/06\/speed-test-between-trees.png 815w, https:\/\/dhtmlx.com\/blog\/wp-content\/uploads\/2016\/06\/speed-test-between-trees-300x173.png 300w\" sizes=\"auto, (max-width: 815px) 100vw, 815px\" \/><\/p>\n<p>So, if the performance when working with large amount of data is crucial for you, TreeView is <a href=\"https:\/\/dhtmlx.com\/x\/download\/tree\/tree_gpl.zip\" target=\"_blank\">here to download<\/a>.<\/p>\n<h5>Data serialization and some extra features &#8211; Tree<\/h5>\n<p>If your requirements are strict enough, and you can&#8217;t see the life of your app without drag-and-drop between trees, or data serialization, you&#8217;d better delay the migration to TreeView for a while and use dhtmlxTree instead. For now, old Tree possesses more features and abilities that you might need in your development. Here you may find more information about <a href=\"https:\/\/docs.dhtmlx.com\/tree__index.html\" target=\"_blank\">Tree features<\/a>.<\/p>\n<h5>A simple JavaScript Tree View for data structuring &#8211; TreeView<\/h5>\n<p>If your requirements are on the opposite to the described above, and your app requires a simple tree menu structure without complex features, then TreeView is a better choice. But you shouldn&#8217;t think that TreeView is too simple, the component has <a href=\"https:\/\/docs.dhtmlx.com\/treeview__index.html\" target=\"_blank\">most useful features<\/a> already: drag-n-drop, dynamic loading, checkboxes, and multiple selection (more on their way).<\/p>\n<h5>What&#8217;s next?<\/h5>\n<p>DHTMLX team will continue working on TreeView to make it more powerful and provide new must-have and just interesting features. dhtmlxTree won&#8217;t be left outboard, we are going to support the ui component to make it compatible with modern browsers and keep it bugs-free. <\/p>\n<p>Nevertheless, if you are a new user, and both trees are completely unfamiliar for you, we&#8217;d recommend you to start with TreeView as it has more bright prospects and planned development. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>dhtmlxTreeView has joined dhtmlx components crew recently. It&#8217;s a JavaScript tree menu component for displaying tree structure in your app. &#8220;But wait!&#8221;, you may say, &#8220;We&#8217;ve already had dhtmlxTree &#8230;<\/p>\n","protected":false},"author":2,"featured_media":3579,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17,72,1,38],"tags":[33,18,10,5],"class_list":["post-3568","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-posts-for-codeproject-com","category-general","category-uncategorized","category-visible","tag-all-posts","tag-labs","tag-dhtmlxsuite","tag-dhtmlxtree"],"_links":{"self":[{"href":"https:\/\/dhtmlx.com\/blog\/wp-json\/wp\/v2\/posts\/3568","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dhtmlx.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dhtmlx.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dhtmlx.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/dhtmlx.com\/blog\/wp-json\/wp\/v2\/comments?post=3568"}],"version-history":[{"count":5,"href":"https:\/\/dhtmlx.com\/blog\/wp-json\/wp\/v2\/posts\/3568\/revisions"}],"predecessor-version":[{"id":15367,"href":"https:\/\/dhtmlx.com\/blog\/wp-json\/wp\/v2\/posts\/3568\/revisions\/15367"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dhtmlx.com\/blog\/wp-json\/wp\/v2\/media\/3579"}],"wp:attachment":[{"href":"https:\/\/dhtmlx.com\/blog\/wp-json\/wp\/v2\/media?parent=3568"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dhtmlx.com\/blog\/wp-json\/wp\/v2\/categories?post=3568"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dhtmlx.com\/blog\/wp-json\/wp\/v2\/tags?post=3568"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}