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

How to add Node at run time from SymbolPalette?

How to add SymbolPalette Symbols  to exsisting Nodecollection /Nodes  which are in different Layers once the symbol is dropped on the Diagram in DragEnter Event?

7 Replies

SG Shyam G Syncfusion Team January 27, 2020 07:31 AM UTC

Hi Mounika, 

By default, when we drag a node from the symbol palette and drop it onto the diagram, it will be automatically added into the nodes collection. We need not use any event to update the nodes collection. We have created a sample in which we have rendered the symbol palette and the diagram control. We have added a button to know the nodes count in the diagram. Please refer to a sample below. 




Regards, 
Shyam G 



MO Mounika January 27, 2020 08:46 AM UTC

Hi Shyam,

After drag and drop of rectangle node to the diagram,It shows  TypeError :'parentNode' of null .Please verify the sample code

Attachment: syncfusiondiagram_3e17f34.zip


SS Swetha Srikumar Syncfusion Team January 27, 2020 09:40 AM UTC



SG Shyam G Syncfusion Team January 28, 2020 12:54 PM UTC

Hi Mounika, 
We can able to replicate an issue at our end. We will validate and provide you with more details on 30th January, 2020. 
Regards, 
Shyam G 



SG Shyam G Syncfusion Team January 30, 2020 11:25 AM UTC

Hi Mounika,  
  
Reported Issue : Exception raised while drag and drop a node from palette onto the diagram locked layer 
    
We can reproduce the issue. We have confirmed this as a defect. We have logged a defect report for this issue. We will fix this issue and provide the patch on 11th February,2020 weekly patch release.  
   
Now, you can track the status of your request through below feedback link.  
  
  
Regards,  
Shyam G  



SG Shyam G Syncfusion Team February 11, 2020 10:34 AM UTC

Hi Mounika, 
 
Sorry for the inconvenience. 
 
Due to technical issues, the reported issue will not be available in the current weekly patch release. However, the fix will be included in our next weekly patch release scheduled on 18th February, 2020. 
 
Regards, 
Shyam G 



SK Suganthi Karuppannan Syncfusion Team February 18, 2020 01:47 PM UTC

Hi Mounika,  
    
We have fixed the reported issue and included it in our patch release (v17.4.50) which is rolled out successfully.   
   
Please upgrade to the latest version packages to resolve this issue.         
  
Regards,  
Suganthi K 


Loader.
Live Chat Icon For mobile
Up arrow icon