Checkbox column failed to enable the autocheckhierarchy property

When I set the autocheckhierarchy attribute to true, I find the collapse hierarchy relationship, and all selected checkboxes will be deselected.

After testing, it is found that the reason is that there are empty arrays in my childmapping. If I delete all empty sub arrays, it would be good. I think this is a bug.

See the example : Cnfhw9 (forked) - StackBlitz


If any crew is an empty array, all selections will disappear when the row is collapsed.

Deleting this row of data in the red box will not cause this bug .


Attachment: Video_20220613162603_4d3f8f8f.zip


3 Replies

PS Pon Selva Jeganathan Syncfusion Team June 14, 2022 04:47 PM UTC

Hi Liu,   


Thanks for contacting syncfusion forum.


We are able to reproduce the issue(If any crew is an empty array, all selections will disappear when the row is collapsed.) at our end.


On further validation, we have considered the reported issue (The checkbox selection is not working properly while the child has an empty child array value”) as a bug. Thank you for taking the time to report this issue and helping us improve our product. At Syncfusion, we are committed to fixing all validated defects (subject to technological feasibility and Product Development Life Cycle) and will include the fix in our upcoming patch release which is expected to be rolled out on first weekly patch release after the volume 2 release. Until then we appreciate your patience.


You can now track the current status of your request, review the proposed resolution timeline, and contact us for any further inquiries through this link. 

https://www.syncfusion.com/feedback/35661/the-checkbox-selection-is-not-working-properly-while-the-child-has-an-empty-child


Note: To view the above feedback, kindly login into your account. 


Disclaimer: The feedback link is in review state, and you can view it once it is validated


Regards, 

Pon selva  




PS Pon Selva Jeganathan Syncfusion Team July 20, 2022 04:22 PM UTC

Hi Liu,


Sorry for the inconvenience caused.


We have internally fixed the issue
The checkbox selection is not working properly while the child has an empty child array value, but we are unable to include the fix in this patch and the same will be included in our upcoming patch release which is expected to be rolled out on 27th July 2022 patch release.  

  

We have created custom patch which includes the fix to resolve your issue. You can find the packages from the below link,  


Packageshttps://www.syncfusion.com/downloads/support/directtrac/general/ze/package1819465311


We request you to replace the packages(ej2-treegrid) in the above link under App(root folder)-> node_modules-> @syncfusion->ej2-treegrid)
to resolve the problem.


Until then we value your patience.


Regards,

Pon selva




PS Pon Selva Jeganathan Syncfusion Team July 28, 2022 02:19 PM UTC

Hi Liu,


We appreciate your patience.   


We are glad to announce that a fix for the issue The checkbox selection is not working properly while the child has an empty child array value” has been rolled out in our patch release. We request you to update to our latest version " 20.2.40" to resolve the issue. 


Kindly get back to us for further assistance.


Regards,

Pon selva


Loader.
Up arrow icon