Welcome to the JavaScript feedback portal. We’re happy you’re here! If you have feedback on how to improve the JavaScript, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
The current implementation of the saveAsJson method is asynchronous, which works well in most modern environments. However, in certain contexts especially when dealing with strict Content Security Policy (CSP) headers asynchronous operations involving dynamic script execution or
To overcome these CSP-related limitations and ensure compatibility with secure environments, we need to provide an option to invoke saveAsJson synchronously.
This could be achieved by introducing a parameter like { synchronous: true } to control the execution mode while invoking the saveAsJson method.