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.
Unfortunately, activation email could not send to your email. Please try again.

Performance in DataGrid

Thread ID:

Created:

Updated:

Platform:

Replies:

118414 Mar 5,2015 07:09 PM Mar 12,2015 09:31 AM WinRT 3
loading
Tags: SfDataGrid
sunco
Asked On March 5, 2015 07:09 PM

I made a code just for testing the time it gets to fill a DataGrid in a Universal app

You need to see the source code to understand this

Milliseconds in Windows 8.1 without grid part

1- 0
2- 14
3- 15
4- 16
5- 16

Milliseconds in Windows 8.1 with grid part

1- 0
2- 58
3- 58
4- 59
5- 159

---------------

Milliseconds in Windows Phone 8.1 without grid part

1- 0
2- 12
3- 24
4- 38
5- 49

Milliseconds in Windows Phone 8.1 with grid part

1- 0
2- 321
3- 334
4- 349
5- 886

If you check the Windows Phone proyect in a device, it seems like 2.6 seconds

Maybe I'm doing something wrong. Maybe converting this to an Observable collection works best


Attachment: ListObservable_d685275a.rar

Ashok N [Syncfusion]
Replied On March 10, 2015 12:54 PM

Hi Isaac,

We are sorry about the inconvenience caused.

We have analyzed your query and in your sample you are loading 10 columns and 80 records to SfDataGrid. SfDataGrid will take considerable time delay only for loading the ItemsSource in view. Could you please share more details like you are using any style to SfDataGrid? that would be more helpful for us to serve you.

Please let us know if you require further assistance.

Thanks,

Ashok



sunco
Replied On March 11, 2015 12:11 AM

I minimize as far I can the provided source code and as you can see it takes long to fill

I'm trying to use on a Mysql client app on a Windows Phone 8.1

I use a Lumia 920 for testing

Ashok N [Syncfusion]
Replied On March 12, 2015 09:31 AM

Hi Isaac,

We are sorry about the inconvenience caused.

We have analyzed your query and if you want to improve the SfDataGrid loading performance, you can use GridVirtualizingCollectionView. Please refer the below UG location for finding more details regarding DataVirtualization. And if you want to improve the SfDataGrid scrolling performance, you can use syncfusion:ScrollableContentViewer instead of Microsoft ScrollViewer. We have prepared a simple sample using GridVirtualizingCollectionView, syncfusion:ScrollableContentViewer and attached in the below sample location, please refer it.

Sample link: http://www.syncfusion.com/downloads/support/directtrac/118414/DataVirtualization_WinRT189746072.zip

UG link: http://help.syncfusion.com/UG/winrt/default.htm#!documents/datavirtualization.htm

Please let us know if you require further assistance.

Thanks,

Ashok



CONFIRMATION

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.

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.

;