Hi Sean,
We have analyzed your query. If you want to wait
till databinding process to get complete, you can use Busyindicator. It will
show the popup window till Grid is loaded all data. You can refer the below
codesnippet to achieve your requirement.
Codesnippet[C#]:
this.grid.ItemsSourceChanged
+= new Syncfusion.Windows.ComponentModel.GridRoutedEventHandler(grid_ItemsSourceChanged);
void
grid_ItemsSourceChanged(object sender,
Syncfusion.Windows.ComponentModel.SyncfusionRoutedEventArgs
args)
{
BusyIndicator
busyindicator = new BusyIndicator();
busyindicator.Name = "Busy";
busyindicator.ProgressValue = 0;
Popup
codePopup = new Popup();
codePopup.Placement = PlacementMode.Center;
codePopup.Child = busyindicator;
codePopup.Height = 90;
busyindicator.IsBusy = true;
codePopup.Width = 200;
codePopup.PlacementTarget =grid ;
codePopup.IsOpen = true;
this.Dispatcher.BeginInvoke(new Action(()
=>
{
busyindicator.IsBusy = false;
codePopup.IsOpen = false;
}), DispatcherPriority.Background);
//throw
new NotImplementedException();
}
|
We have prepared a sample based on this and please
find the sample location below,
Please let us know if you have any queries,
Regards,
Saravanan.M
Busyindicator_6b8f74d5.zip