We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to show the busy indicator while loading the data in the SfDataGrid?

Platform: WPF |
Control: SfDataGrid

You can show an indication of the data loading with the help of the BusyIndicator while in the SfDataGrid. You can display the BusyIndicator by setting the BusyIndicator.IsBusy to true when loading the data. Once loaded, you can stop it by setting the BusyIndicator.IsBusy to false by handling the ItemsSourceChanged event of the SfDataGrid.

<Syncfusion:SfBusyIndicator Name="sfBusyIndicator"


Here, the BusyIndicator is stopped after the SfDataGrid.ItemsSource is changed by handling the ItemsSourceChanged event.

SfdataGrid.Loaded += SfdataGrid_Loaded;
SfdataGrid.ItemsSourceChanged += SfdataGrid_ItemsSourceChanged;
async void SfdataGrid_Loaded(object sender, RoutedEventArgs e)
    this.SfdataGrid.ItemsSource = await (this.DataContext as ViewModel).GetRecords();
void SfdataGrid_ItemsSourceChanged(object sender, GridItemsSourceChangedEventArgs e)
    sfBusyIndicator.IsBusy = false;


The following screenshot shows the BusyIndictor before loading the data into the view.



Sample Links:







2X faster development

The ultimate WPF UI toolkit to boost your development speed.
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile