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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to solve the slowly speed problem that filling a lot of data into girdControl?

Thread ID:

Created:

Updated:

Platform:

Replies:

147326 Sep 6,2019 05:27 AM UTC Sep 9,2019 05:31 AM UTC WinForms 1
loading
Tags: GridControl
?
Asked On September 6, 2019 05:27 AM UTC

Hi, I'm using the GridControl as the data editor.If data is very large(eg: 256*2500),the data filling speed is quite slow.Is there any way to improve the speed?the way I use like below:
for (int i = 0; i < row; i++)
           {
               for (int j = 0; j < col; j++)
               {
                   gridControl.Model[i + 2, j + 1].CellValue = readList[j][i];
               }
           }
Thank U!

Arulpriya Ramalingam [Syncfusion]
Replied On September 9, 2019 05:31 AM UTC

Hi Customer,   
   
Thanks for using Syncfusion products.   
   
The reported use case has occurred due to the loop that populates the data into the grid for large data. In order to overcome this issue, the PopulateValues() method can be used and it improves the performance comparing to the indexer method. Moreover, the Virtual Grid can also be used to display the data that loads the value only for the cells that are in the visible range and the values will be rendered dynamically when the visible range is changed. Please make use of the below user guide to know more about the virtual grid and PopulateValues() method.   
   
 
Please revert to us, if you have any other queries.   
   
Regards,   
Arulpriya   


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon