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.
Syncfusion Feedback

Improving the performance of a virtual grid

Thread ID:

Created:

Updated:

Platform:

Replies:

51460 Nov 6,2006 08:45 PM UTC Nov 8,2006 09:53 AM UTC Windows Forms 3
loading
Tags: GridControl
Vijayarajan Govindarajan
Asked On November 6, 2006 08:45 PM UTC

We are using a virtual grid to display a 40 column, variable row Grid Control. The entire grid is refreshed every second. If the number of rows is more then the refresh takes ip 100% CPU and is very slow. Can you tell me what steps i can take to reduce the CPU usage and improve performance?

Administrator [Syncfusion]
Replied On November 7, 2006 04:29 AM UTC

Hi Thales,

Please refer to the TraderGridTest browser ( \Syncfusion\Essential Studio\4.3.0.25\windows\Grid.Windows\Samples\Performance\TraderGridTest ) sample which demonstrates the frequent updates in random cells across the grid while keeping the CPU usage at a minimum level. A timer changes cells in short intervals, inserts and removes rows.

Also refer to the below forum thread for resovling the filckering issue in a grid.
http://www.syncfusion.com/support/forums/message.aspx?&MessageID=51230

Best Regards,
Haneef

Vijayarajan Govindarajan
Replied On November 7, 2006 04:21 PM UTC

Hi Haneef,

I tried the sample, it works fine. But in my application, i do not know whether the data in the virtual grid has changed or not. So i loop through all the rows and display the data for all the row/col combinations. This is again taking 100 % CPU. Is there any other solution?

Thanks,
Thales

>Hi Thales,

Please refer to the TraderGridTest browser ( \Syncfusion\Essential Studio\4.3.0.25\windows\Grid.Windows\Samples\Performance\TraderGridTest ) sample which demonstrates the frequent updates in random cells across the grid while keeping the CPU usage at a minimum level. A timer changes cells in short intervals, inserts and removes rows.

Also refer to the below forum thread for resovling the filckering issue in a grid.
http://www.syncfusion.com/support/forums/message.aspx?&MessageID=51230

Best Regards,
Haneef

Administrator [Syncfusion]
Replied On November 8, 2006 09:53 AM UTC

Hi Thales,

You can use the Grid.Invalidate method to refresh the grid Or You can have a hashtable to maintain the changed cell information in a grid and can refresh the changed cell using the Grid.InvalidateRange method. Please try the suggestion and let me know if this helps.

Best Regards,
Haneef

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.

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

;