jQWidgets Forums

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts

  • ccc
    Member

    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" },
    ]
    }
    ]
    }
    ];
Viewing 1 post (of 1 total)