Remote data, Expanded rows doesnt appear under corrent parent

Hello,

After clicking expand button, childs are not added to correct parent


while debugging found out that in ej2-treegrid.es5.js, "currentViewData" is correctly before sort on ::2600.

Or this https://www.npmjs.com/package/@syncfusion/ej2-treegrid line ::568 @syncfusion/ej2-treegrid / src / treegrid / base / data.js.

After sort happens it ruins how rows are displayed


Image_5707_1757074587097

Image_3000_1757074804748

Versions we use:

"@angular/core": "^19.2.0"
"@syncfusion/ej2-angular-treegrid": "^30.2.4",


This is demo of how data looked before and after sort happens https://stackblitz.com/edit/angular-8ma4dvpo?file=src%2Fapp.component.ts,src%2Fapp.component.html


Best regards



3 Replies 1 reply marked as answer

SK Sreedhar Kumar Panarapu Sreenivasulu Panarapu Syncfusion Team September 8, 2025 10:40 AM UTC

Hi Mindaugas Ežerskas,


Greetings from Syncfusion support.

On further validation, we have confirmed that the reported issue — Appending children is not working correctly below parent in EJ2 remote data TreeGrid component — is a known bug on our end. This behavior has already been logged internally and tracked for resolution.

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 NuGet release which is expected to be rolled out on September 23, 2025. Until then we appreciate your patience.

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

Appending children is not working correctly below parent in ej2 remote data treegrid component in React | Feedback Portal


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

Disclaimer: Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.


Regards,

Sreedhar Kumar.

 

 



SK Sreedhar Kumar Panarapu Sreenivasulu Panarapu Syncfusion Team September 23, 2025 12:57 PM UTC

Hi Mindaugas Ežerskas,

Apologies for the inconvenience.

We’ve resolved the reported issue; however, due to certain test case scenarios, the fix could not be included in today’s release. To ensure full coverage and stability, we will include the fix in the upcoming patch release scheduled for September 30, 2025.

Thank you for your continued patience and understanding.

Regards,   

Sreedhar




SM Shek Mohammed Asiq Abdul Jabbar Syncfusion Team October 3, 2025 03:45 AM UTC

Hi Mindaugas,


We appreciate your patience and understanding.


We have fixed the bug “Appending children is not working correctly below parent in ej2 remote data treegrid component.” and the fix has been rolled out in our latest weekly release (v 31.1.22). So, upgrade to our latest version to resolve the problem.


Root cause for the issue:

On expanding, the records get sorted before appending. Due to sorting the records based on the idMapping, the child records were sorted and moved to last indexes.


Package : https://www.npmjs.com/package/@syncfusion/ej2-react-treegrid


Sample: https://stackblitz.com/edit/react-w7s75vr5-qzgh8uha?file=package.json,index.js


Please get back to us if you need any further assistance.


Regards,

Shek


Marked as answer
Loader.
Up arrow icon