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.
Unfortunately, activation email could not send to your email. Please try again.

Diagram / Organizational Chart allow to click on each node?

Thread ID:

Created:

Updated:

Platform:

Replies:

118543 Mar 18,2015 02:08 AM Mar 19,2015 08:44 AM JavaScript 1
loading
Tags: ejDiagram
Simla
Asked On March 18, 2015 02:08 AM

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

Shyam G [Syncfusion]
Replied On March 19, 2015 08:44 AM

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


CONFIRMATION

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.

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.

;