jack deng Posted February 5, 2020 Share Posted February 5, 2020 Hi, I can currently building my own custom KPI charts using HTML, CSS and JS in Text Area, and need to insert calculated values into the text area as " While I am applying some JavaScript functions based on the SpotfireControl tag, how can I ensure that the SpotfireControl tag is fully loaded/have data My problem is sometimes that tag does not have any data, and it all depends on luck.. (I have been trying windows.onload, body onload... all these kind of events, nothing worked) It would be great if you can give some advises. Thank you Haoge Link to comment Share on other sites More sharing options...
Khushboo Rabadia Posted March 13, 2020 Share Posted March 13, 2020 You can use setinterval method to check every specific ms if calculated value is loaded or not then execute the corresponding action in script ============================================== $(function() { setInterval( function() { $("#load :first-child").click(); }, 1000); }); ==============================================https://support.tibco.com/s/article/Tibco-KnowledgeArticle-Article-46935 https://datashoptalk.com/ironpython-javascript-refresh-tables/ https://spotfired.blogspot.com/2015/01/trigger-javascript-when-changing-filters.html 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