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?
ADAdministrator Syncfusion Team August 18, 2004 10: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.