Multiple Checkboxes not working in treeview

I have a treeview where I use the method  NodeChecking="nodeChecking".  
I had this working properly where in the child nodes i could select multiple nodes by checking them.  Now If i check the checkbox in a node and select another node it unchecks that node and only has 1 selected in the entire tree at a time.
In 18.3.0.40 this worked fine, i wetn to .42 and it stopped working.
I noticed as soon as I put this event in          <TreeViewEvents TValue="TreeViewItem" NodeSelected="nodeSelect"  NodeChecking="nodeChecking"></TreeViewEvents>
It stops working. I take it out , it works... I need an event when i select the checkbox to call.. and now its breaking the functionality i need.



<SfTreeView @ref="FDITree" TValue="TreeViewItem" AutoCheck="false" ShowCheckBox="true" AllowDragAndDrop="false" LoadOnDemand="true" CheckedNodes="CheckedNodes" CssClass="CustomTree">
                        <TreeViewEvents TValue="TreeViewItem" NodeSelected="nodeSelect"  NodeChecking="nodeChecking"></TreeViewEvents>
                        <TreeViewFieldsSettings HtmlAttributes="htmlAttributes" TValue="TreeViewItem" Id="Id" DataSource="@TreeViewItems" Text="FolderName" ParentID="ParentId" HasChildren="HasSubFolders"></TreeViewFieldsSettings>
                        <TreeViewTemplates TValue="TreeViewItem">
                            <NodeTemplate>

                                @{

                                    if ((@context as TreeViewItem).FolderName.ToLower() == "deleted items")
                                    {
                                        <div style="font-size: 13px; font-weight: bold;">@((@context as TreeViewItem).FolderName)</div>

                                    }
                                    else
                                    {
                                        <div style="font-size: 12px;">@((@context as TreeViewItem).FolderName)</div>

                                    }

                                }
                            </NodeTemplate>
                        </TreeViewTemplates>

                    </SfTreeView>

Attachment: TreeviewCheckedBoxes_d29e3eae.zip

2 Replies 1 reply marked as answer

SP Sowmiya Padmanaban Syncfusion Team October 21, 2020 01:43 PM UTC

Hi  Chris Johansson,  
 
Sorry for the inconvenience. 
 
We have checked your reported problem with TreeView component. We have consider this as a issue from our end. The fix for this issue will be included in Volume 3 SP1 release which is expected to be rolled out at the first week of November 2020. 
 
You can track the following feedback portal link to know the status of this issue. 
 
 
Until then, we suggest you to remove the nodeChecking event in TreeView component. 
 
We appreciate your patience. 
 
Regards, 
Sowmiya.P 


Marked as answer

SP Sowmiya Padmanaban Syncfusion Team October 27, 2020 11:53 AM UTC

Hi  Chris Johansson,  
 
We are glad to announce that our patch release (V18.3.44) is rolled out successfully. In this release, we have included fix  for Checkbox property is not properly working when binding the nodeChecking event”. To access this fix, we suggest you to update the package to the latest version (V18.3.44). 
 
Refer the sample link below. 
 
 
Please get in touch with us if you would require any further assistance. 
 
Regards, 
Sowmiya.P 


Loader.
Up arrow icon