We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

click event on node

Thread ID:





130707 May 27,2017 08:59 AM UTC May 30,2017 01:18 AM UTC Angular 1
Tags: ejDiagram
Asked On May 27, 2017 08:59 AM UTC


I need a demo on how to to get a pop up form  by clicking on a node in organizational diagram  to add informations about each employee

Thank you

Shyam G [Syncfusion]
Replied On May 30, 2017 01:18 AM UTC

Hi Yasmine, 
Please use itemClick event to achieve your requirement. Please refer to the code example and sample below. 
Code example: 
<ej-dialog id="basicDialog" title="Dialog" [showOnInit]="showOnInit"> 
        <span id="text"></span> 
<ej-diagram id="diagramCore" (itemClick)="onClick($event)"> 
onClick(event) { 
        if (event.elementType === "node") { 
            document.getElementById("text").innerHTML = event.element.name; 
In the above sample, we have shown the node name in the dialog box using diagram itemClick event. 
Shyam G 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon