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

How we can disable the multiple selection

Thread ID:





151271 Feb 5,2020 01:52 PM UTC Feb 6,2020 08:38 AM UTC Angular - EJ 2 1
Tags: Diagram
Gaylord Petit
Asked On February 5, 2020 01:52 PM UTC


As the object indicates, we would like to leave the possibility for the user to select a single node so we want to remove the fact of selecting several nodes with the ctrl + click but also the selection with the left click pressed and to frame all the nodes wanted.

we think we have to use the constrains but we can't ...

Thanks for your help

Shyam G [Syncfusion]
Replied On February 6, 2020 08:38 AM UTC

Hi Gaylord, 
Please set tool as SingleSelect which allows you to select individual nodes and the connectors. Please refer to a code example, sample and the help documentation below. 
Code example: 
  <ejs-diagram #diagram id="diagram" width="100%" height="700px"  [tool]='tool' > 
//allow single selection of node in the diagram. 
public tool: DiagramTools = DiagramTools.SingleSelect 

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

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