Kem Azlan Posted September 9 Share Posted September 9 I try to refer on creating the javascript custom progess indicator from this link (https://community.spotfire.com/articles/spotfire/javascript-custom-progress-indicator-for-tibco-spotfire/). Is it possible to add 'Cancel' button into progess indicator to cancel all background task in Spotfire? Link to comment Share on other sites More sharing options...
Solution Jose Leviaguirre Posted September 11 Solution Share Posted September 11 (edited) 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> Edited September 11 by Jose Leviaguirre Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now