Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
80
How to improve UltraWinGrid update performance
posted

Hi,

We are using UltraWinGrid to display frequently updated data. The datasource is set to BindingSource which in turn takes a dataset. When there are a lot of updates coming in at the same time, the CPU usage spikes. It appears a GUI painting issue because when we shrink the application window to make updating region invisible, CPU usage comes back to normal. Is there a way to optimize grid painting performance? Would virtual mode help?

 Thanks.

 Simon

Parents
No Data
Reply
  • 37774
    posted

     Simon,

    What version of the grid are you using?  I know that a lot of performance improvements were made in the 7.3 release.  From what it sounds like, it definitely seems like a painting issue, since the size of the grid directly affects performance.  One thought would be that if you know you're getting a large batch of updates at once, you could try wrapping them in a BeginUpdate/EndUpdate block on the grid so that it only needs to paint once.

    -Matt

Children