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.

real time updates

Thread ID:

Created:

Updated:

Platform:

Replies:

42320 Mar 27,2006 03:29 AM Mar 30,2006 09:27 AM Windows Forms 3
loading
Tags: GridControl
Andrea Boni
Asked On March 27, 2006 03:29 AM

Hi, I need to present real time data in a grid trying to use the less CPU as possible. I used the techniques suggested in the RefreshGrid and TraderGrid samples and actually performance is not that bad. For a few displayed records (20~25) the CPU usage is quite low (below 5%) but increasing to 50 rows I see the CPU usage leaping to more the 50%. Assuming that most of the CPU time is spent drawing (I’m caching statically the styles as in the RefreshGrid sample) I don’t see why doubling the rows I need ten times the power. Do you have any suggestions? Thanks, Andrea

Administrator [Syncfusion]
Replied On March 28, 2006 06:35 AM

Hi Andrea, I have seen similar issues in our internal forum section. But, I can’t come to a conclusion whether the problem is with the drawing of the cells, without fully knowing the details on this issue. It would be better, if you could provide me with some more details and a sample or modify the browser sample accordingly, to reproduce the issue here. Which version of grid are you using? Are you using Virtual grid for implementing the issue? Have you used the DrawClippedGrid method in the TraderGridTest sample to draw the cells? What are the modifications that you have done in your sample, in comparison to the TraderGridTest sample? Thanks for your patience. Best regards, Madhan.

Andrea Boni
Replied On March 28, 2006 08:14 AM

I''m detaching the proptotype from the backend adapter and i''ll send you the code. - The version of the grid is 4.0.5.0. - I''m using the grid in virtual mode - I used the DrawClippedGrid I have non volatile static cache like the one in the RefreshGrid sample. When I receive an update from the backend I update the cache (directly, I don''t use the GridModel) and I invalidate the changed cells.

Administrator [Syncfusion]
Replied On March 30, 2006 09:27 AM

Hi Andrea, Thanks for the reply. Here is the sample demonstrates similar to issue you are expecting. I hope this helps you a little bit. Is your application, updates data large part of grid or random cells? Thanks for the patience Best regards, Madhan Sample : PerformanceGrid

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.

;