RecursiveChecking not working correctly after refresh.

Hi,
I found strange behavior of TreeGrid when RecurisveChecking is enabled. After first init everything works fine. When i change view and go back to previous, is there a problem with recursive checking. I added .gif and code example.  Am I something wrong? Thanks for reponse  

Attachment: TreeGrid_9ed399a6.zip

6 Replies 1 reply marked as answer

MA Mohanram Anbukkarasu Syncfusion Team September 14, 2020 12:44 PM UTC

Hi Ondrej, 

Thanks for contacting Syncfusion support.  

We have checked the provided sample and we are able to reproduce the reported issue in our end. We are currently validating this issue. We will update with further details on 15th September 2020. We appreciate your patience until then.  

Regards, 
Mohanram A. 



MA Mohanram Anbukkarasu Syncfusion Team September 15, 2020 02:00 PM UTC

Hi Ondrej,  
 
We regret for the inconvenience.  
 
We are still validating this issue. We will update with further details on 16th September 2020. We appreciate your patience until then.   
 
Regards,  
Mohanram A. 



MA Mohanram Anbukkarasu Syncfusion Team September 16, 2020 01:29 PM UTC

Hi Ondrej, 

Thanks for your patience.  

We have validated the reported issue “CheckBox state in updated incorrectly for other child nodes while clicking on checkbox of a child node” and it is confirmed as a defect. We have logged a bug report on this regard.  


Kindly confirm the Syncfusion product version you are using. Based on the Syncfusion version we will update the timeline for the fix and will confirm whether we can provide the fix as patch or in NuGet release.  

Regards, 
Mohanram A. 




ON Ondrej September 16, 2020 08:31 PM UTC

Hi, 
thanks for your response,  we use 18.1.0.59 version of product. 

Regars,
Ondrej R.


MA Mohanram Anbukkarasu Syncfusion Team September 17, 2020 10:09 AM UTC

Hi Ondrej, 

Thanks for the update.  

As you are using NuGet version 18.1.0.59, we are unable to provide patch for the fix in NuGet version. We will include the fix in our NuGet release which is expected to be rolled out in the second week of October 2020.  

We appreciate your patience until then.  

Regards, 
Mohanram A. 



MA Mohanram Anbukkarasu Syncfusion Team October 6, 2020 02:26 PM UTC

Hi Ondrej, 

Thanks for your patience.  

We have analyzed the reported issue with “CheckBox state is updated incorrectly”. On switching to blank view, the usercontrol is unloaded but the SfTreeGrid control is not disposed, due to which events are not unwired for the treegrid view. This causes the issue with updating CheckBox state. So we suggest you to dispose the SfTreeGrid properly when usercontrol is unloaded. Please refer to the below code snippet 

public partial class TreeView  
{ 
       public TreeView() 
       { 
              InitializeComponent(); 
              this.Unloaded += TreeView_Unloaded; 
       } 
 
    private void TreeView_Unloaded(object sender, System.Windows.RoutedEventArgs e) 
    { 
        this.SfTreeGrid.Dispose(); 
        this.Unloaded -= TreeView_Unloaded; 
    } 
} 

Also please find the modified sample from the link below 



Please let us know, if you require any further assistance on this. 

Regards, 
Mohanram A. 


Marked as answer
Loader.
Up arrow icon