afterUnSelect

fires after unselecting an item

void afterUnSelect(string|number id){ ... };

Parameters

idstring|numberthe item id

Example

var diagram = new dhx.Diagram("diagram_container", { 
    type: "org", 
    select: true        
});
 
diagram.events.on("AfterUnSelect", function (id) {
    console.log(diagram.data.getItem(id).text + " was unselected");
});

Related samples

See also
Back to top