Hi svrz,
Thanks for contacting syncfusion support.
We have checked your query and have tested the loading time of the DataGrid control with different set of inputs. We observed the below loading time when loading the SfDataGrid initially and when populating the grid in runtime. However, we will still continue to check on this to reduce the loading time further if possible.
The initial loading time of the grid here is recorded including the time taken for the page to load in Xamarin.Forms which is around 600 milliseconds to 1.5 seconds by default.
Refer the below table for the observed time:
|
View loaded |
Grid loading time along with the page loading (in milliseconds) |
Loading time of Grid only(in milliseconds) |
|
Label |
572 |
|
|
Grid with 100 rows |
250-500 |
<50 |
|
Grid with 1000 rows |
460-600 |
<100 |
|
Grid with 10000 rows |
750-870 |
180-230 |
Regarding your query, “Any hints or help in regards to performance improvement”
The properties EnableDataVirtualization and NotificationSubscriptionMode allows you to give the better performance in terms of loading and scrolling.
- set EnableDataVirtualization to true.
- This will allow you virtualize the data items generated to bind to the grid there by creating only the required data objects to be loaded in view rather creating the total number of records that is populated.
- set NotificationSubscriptionMode as none.
- This property will allow you to customize the notification subscription in SfDataGrid. If you do not want to subscribe to any notifications in your sample you can set this to None. You can also customize this to property change and collection change alone.
Refer the below link sample for reference.
Regards,
Shivagurunathan. K