COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: cognosdelaware on 13 Jul 2017 12:38:59 PM

Title: Is there an event after window.onload, like a fully rendered event
Post by: cognosdelaware on 13 Jul 2017 12:38:59 PM
Hi,

  I am looking for the different window events that fire for a report.

  I have logic in a window.onload to hide a prompt.

  I want to see if there is another event after the report has fully loaded the prompt page?

Thanks!
Title: Re: Is there an event after window.onload, like a fully rendered event
Post by: Kiran P on 14 Jul 2017 10:51:55 AM
Quote from: cognosdelaware on 13 Jul 2017 12:38:59 PM
Hi,

  I am looking for the different window events that fire for a report.

  I have logic in a window.onload to hide a prompt.

  I want to see if there is another event after the report has fully loaded the prompt page?

Thanks!
AFAIK window.onload is the event that will be triggered when all controls on the page are loaded. But if it is not happening that way then may be you want to add wait time (I think settimeout () in JavaScript) so that the next action doesn't occur till the wait time is completed.

Thanks
Kiran

Sent from my ZUK Z2132 using Tapatalk