How can i display the spinner in the viewer?
and hide it?
Thanks
JB
Spinner while loading report to viewer
Re: Spinner while loading report to viewer
Hello,
Could you explain your task in more details?
Thank you.
Could you explain your task in more details?
Thank you.
Re: Spinner while loading report to viewer
the viewer has a spinner when it is loading data, is there anyway to call that spinner at some point?
I tried viewer.showProcessIndicator() and viewer.hideProcessIndicator() to hide, but it isnt doing nothing.
sometimes when i´m receiving data to load the report in the viewer and its taking too long i would like to show the spinner instead of a white page in the viewer.
thanks
JB
I tried viewer.showProcessIndicator() and viewer.hideProcessIndicator() to hide, but it isnt doing nothing.
sometimes when i´m receiving data to load the report in the viewer and its taking too long i would like to show the spinner instead of a white page in the viewer.
thanks
JB
Re: Spinner while loading report to viewer
I have seen your demo online...
in case somebody else needs this:
It´s in stimulsoft demo online...i´ve changed it a litle bit because i have a modal form...
JB
in case somebody else needs this:
Code: Select all
function stiProgress () {
var progressContainer = document.createElement("div");
progressContainer.style.position = "absolute";
progressContainer.style.zIndex = "9000";
progressContainer.style.top = "calc(50% - 400px)";
progressContainer.style.left = "calc(50% - 50px)";
var progress = document.createElement("div");
progressContainer.appendChild(progress);
progress.className = "mobile_designer_loader";
return progressContainer;
}
function showProgress() {
hideProgress();
var rightPanel = document.getElementById("viewerContent");
var progress = stiProgress();
rightPanel.appendChild(progress);
rightPanel.progress = progress;
}
function hideProgress() {
var rightPanel = document.getElementById("viewerContent");
if (rightPanel.progress) {
rightPanel.removeChild(rightPanel.progress);
rightPanel.progress = null;
}
}
JB
Re: Spinner while loading report to viewer
We should really create a GitHub Repo for this with Stimulsoft helper tools.
As there are zillions of npms out - this is worth making one more
As there are zillions of npms out - this is worth making one more

Re: Spinner while loading report to viewer
Hello
Ok.
Please let us know if you need any additional help.
Thank you.
Ok.
Please let us know if you need any additional help.
Thank you.