Slow multiple sfdatagrid first load

I am using VS2015, C# and WPF.

I have a TabControl, in each tabitem I have a view with multiple sfdatagrids.

The first time that the program load the tab with Sfdatagrid, the load is slow, sometimes 3 or 4 seconds.

All the sfdatagrid are empty, because you need to push a button to show dates in the datagrid.

After the first check, in the tab, every time that you push in the tabitem, the load is more slow than if I use datagrid, but it is not like the first time.

I attached a example, in the example I have 6 tabitem, in 3 load datagrid and in the other 3 load sfdatagrid



Attachment: SyncFusion_SfDatagrid_f2c5cf23.rar

8 Replies

JG Jai Ganesh S Syncfusion Team January 12, 2018 12:02 PM UTC

Hi Salva, 
 
We have tried to check your reported issue in your attached sample but we are unable to run your application and got the below errors, 
 
 
 
Based on your code you have load the SfDataGrid inside the ScrollViewer. SfDataGrid has its own ScrollViewer. So, it is not recommended to load the SfDataGrid inside the ScrollViewer as it provides infinite size to its children which leads to lose of UI virtualization. However, you can improve the performance by remove the ScrollViewer and setting the UseDrawing=”Default” like below, 
<syncfusion:SfDataGrid Grid.Row="2" Grid.Column="0" Margin="5,30,5,5" 
                                   AutoGenerateColumns="False" 
                                   ItemsSource="{Binding Path=PagedSource, ElementName=dataPagerDetalle}" 
                                   SelectionUnit="Row"  UseDrawing="Default"  
                                   IsReadOnly="True" 
                                   Height="300"> 
 
Could you please do the above changes in your application and if you still facing the performance delay then please share the runnable application to replicate the issue. This would be more helpful for us to proceed further. 
 
Regards, 
Jai Ganesh S 
 



SA Salva January 12, 2018 03:01 PM UTC

Sorry. I´ve reload the file.

I´ve changed <ScrollViewer> and UseDrawing=”Default” but this is still slow.

Attachment: SyncFusion_SfDatagrid_6839bf20.rar


JG Jai Ganesh S Syncfusion Team January 16, 2018 01:31 PM UTC

Hi Salva, 
A support incident to track the status of this defect has been created under your account. Please log on to our support website to check for further updates 
 Please let me know if you have any questions. 
 Regards, 
Jai Ganesh S 



UP Urja Patel February 14, 2019 06:30 AM UTC

Hello,

I am facing similar issue, with same functionality.
Page with 6 tabs having sfdatagrid in each tab takes lot of time to load UI, as it takes too much to load UI the application hangs UI states and does not navigate to other screen.
Is this problem solved?? I want the sample for the solved problem.
Please provide status and solution of the problem. 


MA Mohanram Anbukkarasu Syncfusion Team February 15, 2019 02:07 PM UTC

Hi Salva, 

Thanks for your update.  

We have forwarded this to our development team for analysis. We will update you with details on February 19, 2019.  
We appreciate your patience until then. 

Regards, 
Mohanram A. 



MG Manaseh Gnanadoss March 14, 2019 09:32 PM UTC

Is there are solution for this issue. I am facing the same issue. 
I have 6 tabs in a page. data is loaded on the initial run, After dataload, clicking on tab takes 4 second to load, even though there is not database call.


MG Manaseh Gnanadoss March 14, 2019 09:59 PM UTC

did you get this issue resolved


MA Mohanram Anbukkarasu Syncfusion Team March 15, 2019 01:01 PM UTC

Hi Manaseh, 
  
We have created a simple sample to replicate your scenario with 6 tabs to check the reported issue. But unfortunately we are unable to reproduce the issue from our sample.  The sample we have used to check the issue is available in the following link for your reference. 
  
  
Please have a look at the above sample and if still the issue exists please have further follow ups in the incident you have created regarding this issue. 
  
Regards, 
Mohanram A. 



Loader.
Up arrow icon