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 issue on the grid

Thread ID:

Created:

Updated:

Platform:

Replies:

17860 Aug 18,2004 11:34 AM Aug 18,2004 11:42 AM Windows Forms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On August 18, 2004 11:34 AM

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 11:42 AM

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.

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.

;