SfDataGrid takes some time for its initial loading of data and it largely depends on the type and size of the bound data. Thus, you can load an animation in the meantime the grid is loading using an ActivityIndicator in the SfDataGrid.GridLoaded event.
Refer the below code in which an activity indicator is created and displayed until the SfDataGrid is loaded.
When the above code is executed, you can get the below output:
This page will automatically be redirected to the sign-in page in 10 seconds.