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
close icon

How can i show pageloading (indicator) when change page on TableView?

Hi my code is like follows. I want to show indicator, i can showing but it coming so late. For example if coming of the page with content that mean is showing some thing on screen is 5 sec, the indicator seeing about 1 sec. I mean when i click any tab the page , i want to show indicator immediately.

 private void SfTabView_SelectionChanged(object sender, Syncfusion.XForms.TabView.SelectionChangedEventArgs e)
        {
            if (e.Name == "Marka Banka" && GridMarkaBanka.Children.Count == 0)
            {
                var BankaNakit = new MarkaBanka();
                GridMarkaBanka.Children.Add(BankaNakit);
            }

            if (e.Name == "Banka Marka" && GridBankaMarka.Children.Count == 0)
            {
                var BankaMarkaNakit = new BankaMarka();
                GridBankaMarka.Children.Add(BankaMarkaNakit);
            }

            if (e.Name == "Şube Marka" && GridSubeMarka.Children.Count == 0)
            {
                var SubeMarkaNakit = new SubeMarka();
                GridSubeMarka.Children.Add(SubeMarkaNakit);
            }
        }

1 Reply

MK Muneesh Kumar G Syncfusion Team September 26, 2019 08:50 AM UTC

Hi Mahmut, 
  
We have prepared a sample based on your requirement, show loading while content is being loaded when we change the tab. We have achieved a content loading using SfBusyIndicator control to know more about this refer the following link. 
  
  
Find the sample from below link. 
  
  
Please let us know, if you have any concerns. 
 
Thanks,   
Muneesh Kumar G.   
 


Loader.
Live Chat Icon For mobile
Up arrow icon