$(document).ready(function () { $("#basicTree").jstree({ core: { themes: { responsive: !1 } }, types: { default: { icon: "mdi mdi-folder-plus" }, file: { icon: "mdi mdi-file-document-box-outline" } }, plugins: ["types"] }), $("#checkTree").jstree({ core: { themes: { responsive: !1 } }, types: { default: { icon: "mdi mdi-folder-plus" }, file: { icon: "mdi mdi-file-document-box-outline" } }, plugins: ["types", "checkbox"] }), $("#dragTree").jstree({ core: { check_callback: !0, themes: { responsive: !1 } }, types: { default: { icon: "mdi mdi-folder-plus" }, file: { icon: "mdi mdi-file-document-box-outline" } }, plugins: ["types", "dnd"] }), $("#ajaxTree").jstree({ core: { check_callback: !0, themes: { responsive: !1 }, data: { url: function (e) { return "#" === e.id ? "assets/data/ajax_roots.json" : "assets/data/ajax_children.json" }, data: function (e) { return { id: e.id } } } }, types: { default: { icon: "mdi mdi-folder-plus" }, file: { icon: "mdi mdi-file-document-box-outline" } }, plugins: ["contextmenu", "dnd", "search", "state", "types", "wholerow"] }) });