The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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
ADAdministrator 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.