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

Performance issue on the grid

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

1 Reply

AD Administrator Syncfusion Team 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.

Live Chat Icon For mobile
Up arrow icon