Replaced loading view code for data table