Closed sdgmits closed 6 years ago
@PaulNieuwelaar , I think, I found a solution for this issue with a reference from your comment on another post.
If we use in below way, then OK button wouldn't come by default.
//Show progress bar Alert.show("Processing...", null, [], "LOADING", 250, 150, null, true, null);
Thanks.
Hi, yup as per documentation, passing an empty array is the correct way to display no buttons. You can also used the showLoading function as well.
How can we get rid of default OK button for a loading alert? and do NOT show any button.
It does not make sense to give 'OK' button when a process is running behind the scene and Loading alert should go automatically once behind the scene process completed. If OK button is available, one can click on it and not wait for the response to come back,
//Show progress bar Alert.show("Processing", null, null, "LOADING", 250, 150, null, true, null);