I am using 2 functionalities in sequence:
1. GetMetadata
2. GetTableData
Using the metadata values the table is prepared and rendered. 
I want to display a spinner 'loading' until the entire fetch has been made from the server for table data. What is the best way to display this spinner? It should stop displaying the spinner once the data has been fetched and table is ready. I am using Jquery to display the table.