Hi, I have an application which gets data from a database using php. I would like the data that is retrieved with a creationComplete call to be used in another function which also is called automatically when the application is opened. This causes nothing to be displayed because the second function is called before the data has been retrieved.
Is there a way of delaying a function until after the data has been successfully downloaded, or calling the function as a consequence of the successful data retrieval? As it is, I have to use a button to call the second function which I would like to run automatically.