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. Image for the cookie policy date
close icon

Diagram / Organizational Chart allow to click on each node?

I'm impress on your Diagram / Organizational Chart but have question about if i want to click on each node and do something such as show much more information, is allow me to do it? is any event to suppot?

Thanks

1 Reply

SG Shyam G Syncfusion Team March 19, 2015 12:44 PM UTC

Hi Prasert

Thanks for using Syncfusion products.

Please note that “click” event will be fired, if we set Models tool to ej.datavisualization.Diagram.Tool.SingleSelect along with ZoomPan and selectorconstraints as none. Please refer the code snippet below.

Code snippet:

$("#diagram").ejDiagram({

click: function click() {

alert("event fired");

},

selectedItems: { constraints: ej.datavisualization.Diagram.SelectorConstraints.None },

tool: ej.datavisualization.Diagram.Tool.SingleSelect | ej.datavisualization.Diagram.Tool.ZoomPan,

});

Please let me know if any concerns.

Regards,

Shyam G


Loader.
Live Chat Icon For mobile
Up arrow icon