itemDblClick

fires on double-clicking a tree item

void itemDblClick(){ ... };

Example

// allows opening folders on double click
tree.events.on("ItemDblClick", function(id, e){
    tree.data.update(id, {opened: !tree.data.getItem(id).opened})
});

Related samples

See also
Back to top