Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
145529 | Jun 26,2019 06:44 PM UTC | Jun 28,2019 10:25 AM UTC | Xamarin.Forms | 3 |
![]() |
Tags: SfDataGrid |
public MainPage()
{
InitializeComponent();
dataGrid.ItemsSourceChanged += DataGrid_ItemsSourceChanged;
}
private void DataGrid_ItemsSourceChanged(object sender, GridItemsSourceChangedEventArgs e)
{
//// You can do required process here.
} |
[C#]
public partial class MainPage : ContentPage
{
SfBusyIndicator indicator;
public MainPage()
{
InitializeComponent();
indicator = new SfBusyIndicator();
dataGrid.GridLoaded += DataGrid_GridLoaded;
}
private async void DataGrid_GridLoaded(object sender, GridLoadedEventArgs e)
{
//// customize based on the requirement.
indicator.IsBusy = true;
indicator.IsVisible = true;
indicator.AnimationType = AnimationTypes.SlicedCircle;
grid.Children.Add(indicator);
await Task.Delay(2000);
indicator.IsBusy = false;
indicator.IsVisible = false;
}
} |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.