When working with remote data, sometimes the Grid operations like
sorting etc. may need time to fetch the needed. In these scenarios, it is a good practice to show a loader in the Grid, indicating that the component is working on a given operation.
For scenarios when we want to show our own custom Loader, we can use the approach demonstrated in the below example: