Thanks.
Is there a way to do this on a ‘node’ specific level? I’d like to use a different icon on each tree node based on type and include both the expanded and collapsed icons for the node.
var source = [ { icon: "images/server-opened.png", label: "Server 1", expanded: true, items: [ { icon: "/images/group-closed.png", label: "Group 1" }, { icon: "/images/group-open.png", label: "Group 2", items: [ { icon: "/images/sensor.png", label: "Sensor 1" }, { icon: "/images/sensor.png", label: "Sensor 2" }, ] } ] }];