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

Diagram NodeConstraints/ConnectorConstraints Select not allowing click

Thread ID:





141219 Nov 30,2018 03:00 AM UTC Dec 4,2018 06:20 AM UTC ASP.NET Web Forms 1
Tags: Diagram
David van Laar Veth
Asked On November 30, 2018 03:00 AM UTC

Hi, I am changing my constraints for nodes and connectors to "Select" only, but I can only select the nodes/connectors by dragging over them.

I would like to be able to select them by clicking as well, while keeping the other constraints disabled. Could you tell me how to do this?

This is how I am changing the constraints:

var diagramObj = JSON.parse(CallbackPanel.cpDiagramString) // the diagram schema

if (editingRights == false){
    // Prevent editing if no write access
    if (diagramObj.nodes) {
        var NodeConstraints = ej.datavisualization.Diagram.NodeConstraints;
        diagramObj.nodes.forEach(function (node) {
            node.constraints = NodeConstraints.Select;
    if (diagramObj.connectors) {
        var ConnectorConstraints = ej.datavisualization.Diagram.ConnectorConstraints;
        diagramObj.connectors.forEach(function (connector) {
            connector.constraints = ConnectorConstraints.Select;

Ramya Thirugnanam [Syncfusion]
Replied On December 4, 2018 06:20 AM UTC

Hi David, 
Thanks for contacting Syncfusion support. 
Please use the constraints of node as below to allow selection alone to the node. 
Node.constraints = NodeConstraints.PointerEvents | NodeConstraints.Select 
Ramya T 


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

This page will automatically be redirected to the 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

Live Chat Icon For mobile
Live Chat Icon