Jump to content

Add Cancel button into Javascript Custom Progress Indicator


Kem Azlan
Go to solution Solved by Jose Leviaguirre,

Recommended Posts

  • Solution

Hello @Kem Azlan, the solution is based on JavaScript. You will need to add an Action Control to cancel the process as per this article and tweak the JavaScript code to prevent the overlay to hide when clicking. I updated the code, so now you can add controls inside the javascriptLoader tag

<SpotfireControl id="button that runs a data function" />

 <div id="javascriptLoader">   
   <h1>loading</h1> 
   <SpotfireControl id="cancel button or link goes here" />
 </div>

loader1.1.gif.d1b127adb848370d19999a3bb65e92a3.gif

Edited by Jose Leviaguirre
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...