Thank you for your time, but i found a way. Really sorry that I couldn't paste any code for your understanding. I'm learning jsreport and have only begun understand the hang of stuff. Cool tool by the way
Posts made by aravind
-
RE: Know which template is rendered
-
RE: Know which template is rendered
Il try to replicate the issue in playground but it's Goin to be difficult.
The problem is I'm using the render function to rended multiple templates in a single html. However, each of the templates get data from a different API and hence will take different time to complete execution. All I need to know is, programmatically is there any way to identify which template renders first?. I am.able to view the results on the page, however, I need to know it programtically so that I can hide and show the loading bars accordingly. Does that make sense? -
Know which template is rendered
Hi,
I am trying to render multiple templates into one template. I'm using the basic examples provided in the jsreport playground. Is it possible to identify which template has rendered completely? I'm using cookies to identify if a template has been rendered or not. But I am having difficulty finding out which specific template is rendered! :(