Updated template for grid to include loaded class