Hello Rameez,
I am not able to view your project, as it is not loading, nevertheless I created a similar sample based on your description. I am able to reproduce this behavior, where the custom loading template is used only on initial load.
After further investigation, I determined that the grid loading indicator template is generally meant to be used when the `isLoading` property is true and no data is available in the grid. My suggestion in this case would be to also set the grid data to an empty array in addition to setting the `isLoading` input.
this.grid.isLoading = true;
this.data$.next([]);
On the other hand, the overlay spinner that you observe when reloading the grid data without resetting it, is actually a loading overlay used when there is data in the grid and the grid is loading. It just happens to contain the same igx-circular-bar as in the default grid loading template.
Here you can find the sample I used to test this along with the above workaround. As you will see, the custom loading template is used on reloading.
Nevertheless, I have also logged an idea about using the custom loading template in the above mentioned loading overlay. You can view the GitHub issue here. In order to receive a notification whenever a new information is available. Please make sure that you are subscribed to the issue. This can be achieved via “Subscribe” button.
If you have any other questions on the matter, please, let me know.
Best regards,
Bozhidara Pachilova
Associate Software Developer