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

Specifiying a layout results in exception when state of nodes changes


if I specify a layout and the nodes state changes, an exception occurs: Cannot read property 'id' of null

You can reproduce this problem here:

If you click the "Change Node State" button, you can see this exception. If you remove the layout attribute on lines 64-67, no exception occurs.
Is there something wrong with the implementation, ot is this a bug?


2 Replies

SG Shyam G Syncfusion Team February 11, 2020 06:43 PM

Hi Jan, 
We have logged “Specifiying a layout results in exception when state of nodes changes” as a defect. The fix for the reported issue will be available in our weekly patch release 26th February, 2020. You can track the status of the feature from the below feedback link. 
Shyam G 

AR Aravind Ravi Syncfusion Team February 26, 2020 01:07 AM

Hi Jan,   
We have fixed the reported issue and included it in our patch release (17.4.51) which is rolled out successfully.    
Please upgrade to the latest version packages to resolve this issue.          
Aravind Ravi 

Live Chat Icon For mobile
Up arrow icon