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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DataBoundGrid and RealTime Update

Thread ID:





73051 Apr 17,2008 01:30 PM UTC Apr 24,2008 09:52 PM UTC WinForms 1
Tags: GridControl
mattia locatelli
Asked On April 17, 2008 01:30 PM UTC

Hi all,
I need to perform some real time update using the GridDataBoundGrid. The real time update consist of "blink" - change the color of a cell - for all the cell that changed value since the last update.
Update are triggered each 500ms by a timer and the value comes from a real time flow that changes the value in the bindingSource binded to the grid.
I know that there is a specific grid for handling real time flow but I'm required to use the GridDataBoundGrid cause we need binding.
The problem is that updating the values and blinking in the grid takes high on CPU (i.e on my PC for a grid of 500 rows and 12 column is around 12% of CPU).
Actually what I'm doing is invalidating and changing the background color of the cell using the Model_QueryCellInfo only for the cell that are updated instead of refreshing the entire grid.
There is a better a way (less CPU usage) to accomplish this task.
Attached a sample application that I use to test the CPU usage.



Sri Rajan [Syncfusion]
Replied On April 24, 2008 09:52 PM UTC

Hi ML,

Thank you for your patience.

You can use the GroupingGrid for this scenario. Please refer the GroupingTraderGridTest browser sample, which demonstrates the frequent updates that occur in random cells across the gridgroupingcontrol while keeping the CPU usage at a minimum level. A timer changes cells in short intervals, inserts and removes rows.

Here is a sample path for your referene.
C:\Documents and Settings\{UserName}\My Documents\Syncfusion\EssentialStudio\\Windows\Grid.Grouping.Windows\Samples\2.0\PerformanceSamples\GroupingTraderGridTest

also refers.

Please let me know if this helps.

Best Regards,


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon