This is my tree javascript:
$(function() {
$("#treeview-left").kendoTreeView({ dragAndDrop: true, dataSource: [ { text: "Furniture", expanded: true, items: [ { text: "Tables & Chairs" }, { text: "Sofas" }, { text: "Occasional Furniture" } ] }, { text: "Decor",expanded: true, items: [ { text: "Bed Linen" }, { text: "Curtains & Blinds" }, { text: "Carpets" } ] }, { text: "Shoes", expanded: true, items: [ { text: "YVES SAINT LAURENT" }, { text: "LUXE" }, { text: "249" }, { text: "GeoBlock" }, { text: "LUXE" }, { text: "Categoryid" }, { text: "CategoryName" }, { text: "ParentCategoryid" }, { text: "Name" }, { text: "Color" }, { text: "Thumbnailurl" }, { text: "Rolloverurl" }, { text: "Designername" }, { text: "Department" }, { text: "GenderID" }, { text: "Travel Tailoring" }, { text: "Lab Designers" }, { text: "Boots" }, { text: "Belts" }, { text: "Accessories" }, { text: "Espadrilles" }, ] } ] }); }); </script>Thanks!