I am clicking on the table row, to open a model. What I want is, after clicking on the table row, till the time API is loading, I should be able to show the spinner to the user, after which the modal opens (After API fetches the result).
How can I solve this? It's much needed at this time.