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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Performance issue on the grid

Thread ID:





17860 Aug 18,2004 03:34 PM UTC Aug 18,2004 03:42 PM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On August 18, 2004 03:34 PM UTC

I have data update many times per second. It seems the call of Refresh on grid is very expensive. It push CPU all the way up if I call refresh after update the datasource on every single new record. Can I separate grid.Update and Refresh? As call grid update for every incoming record but call refresh every second? Thanks Chris

Administrator [Syncfusion]
Replied On August 18, 2004 03:42 PM UTC

You can try calling grid.RefreshRange to only refresh the rows that need it. Or, you can call grid.Invalidate and pass in a specific rectangle that needs updating. Calling grid.Refresh also calls grid.ResetVolatileData and grid.UpdateScrollBars in addition to grid.Update. But if you know the exact row that needs updating it will be faster to call grid.RefreshRange to avoid redrawing more than you need to.


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