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
If you became a customer of the Syncfusion Reporting Platform or the Report Viewer, Report Designer, or Report Writer components before October 2019 and have questions related to those products, you can request support through our forum system. However, please note that this support system is only for existing customers who are still using the Syncfusion Reporting Platform or its components and not for new customers looking for reporting products from Syncfusion.

For new customers or those with general reporting questions, we recommend contacting our support team at https://support.boldreports.com/, which is a separate brand created by Syncfusion for its reporting solutions. Our team will be happy to assist you with any questions you may have.

Thank you for choosing Syncfusion for your reporting needs.

Is it possible to unload the report viewer completly

Hi.

Right now I create the ReportViewer like:

$("#container").ejReportViewer(setupObject);

Is is possible to unload the ReportViewer again, and ensure all ReportViewer stuff in DOM is removed?

Thanks

1 Reply

VS Vinoth Srinivasan Syncfusion Team August 5, 2019 07:40 AM UTC

Hi Martin, 
 
In default after rendering the report with processed data the DOM objects will be removed at our end and if you need to remove the objects manually the we suggest you to use “_destroy” method to do so. Please find the below code snippet. 
 
var reportviewerObj = $("#container").data("ejReportViewer"); 
reportviewerObj.__destroy() 
 
 
Regards, 
Vinoth S. 


Loader.
Live Chat Icon For mobile
Up arrow icon