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

ej2_instances undefined on actionComplete.beginEdit event


Please refer to this sample : https://stackblitz.com/edit/react-syncfusion-jtg4x7

We are not able to access the ej2_instances on the actionComplete event when using a custom dialog template.

The workaround is to use a setTimeout and then we can access the instance.

The source code in your sample does not use a setTimeout though :  https://ej2.syncfusion.com/react/documentation/grid/editing/template-editing/#inline-or-dialog-template-editing

Is this a bug ?

2 Replies

PS Pavithra Subramaniyam Syncfusion Team February 2, 2023 01:13 PM UTC

Hi Julien,

Greetings from Syncfusion support.

Yes, we have confirmed that the reported behavior is an issue from our side and logged it as - “Script error while accessing edit form inside the actionComplete event”. 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 technical feasibility and Product Development Life Cycle ) and will include the defect fix in our upcoming patch release which will be rolled out by 2nd week of February 2023.

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

Feedback: https://www.syncfusion.com/feedback/40824/script-error-while-accessing-edit-form-inside-the-actioncomplete-event

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


Pavithra S

PS Pavithra Subramaniyam Syncfusion Team February 8, 2023 12:05 PM UTC


We are glad to announce that our Essential Javascript2 patch release (v20.4.49) has been rolled out successfully and in that release, we have added the fix for the issue - Script error while accessing edit form inside the actionComplete event”. So please update your packages to this version to include this fix.

Feedback link : https://www.syncfusion.com/feedback/40824/script-error-while-accessing-edit-form-inside-the-actioncomplete-event

Release Notes: https://ej2.syncfusion.com/react/documentation/release-notes/20.4.49/?type=all#grid

We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.

Live Chat Icon For mobile
Up arrow icon