Ok, I'll try thisHighAley wrote:Hello.
Unfortunately, there is no such event and the StiEndRenderEvent will not help you.
Maybe it will be better to export the report to HTML and then you can do with this HTML all that you need.
Thank you.
Thanks
Ok, I'll try thisHighAley wrote:Hello.
Unfortunately, there is no such event and the StiEndRenderEvent will not help you.
Maybe it will be better to export the report to HTML and then you can do with this HTML all that you need.
Thank you.
Code: Select all
var previewRenderTimer;
var previewRenderInterval = 1000;<-- time to wait to make sure there is no DOM change event anymore
...
$('div#StiDesigner_Viewer_JsViewerMainPanel').on("DOMSubtreeModified", () => {
clearTimeout(previewRenderTimer);
previewRenderTimer = setTimeout(createReportThumbnailFunc, previewRenderInterval);
});