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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

gridgroupingcontrol and realtime data

Thread ID:





25680 Mar 3,2005 05:33 PM UTC Mar 4,2005 12:07 AM UTC WinForms 4
Tags: GridControl
Administrator [Syncfusion]
Asked On March 3, 2005 05:33 PM UTC

I am showing financial securities data in a gridgroupingcontrol. I would like to add a column of realtime data (prices coming in from an outside feed). I may want to check for updates every 5 seconds, and update those values that have changed. Can you recommmend an approach for this? Should I directly update the cells that have changed, or update the underlying datatable? I may be showing up to 10,000 rows and 40 columns, with 3 levels of grouping. I would like to make the updates transparent to the users. Thanks, Brian

Administrator [Syncfusion]
Replied On March 3, 2005 06:58 PM UTC

You should probably update the underlying DataTable. The grouping grid will automatically respond to these changes and update any groups/summaries that are affected by the changes. You could cache the changes in a 2nd dataset and then do a dataset.Merge to move the changes into teh grid''s datasource every so often.

Administrator [Syncfusion]
Replied On March 3, 2005 08:06 PM UTC

Thanks for the info. Should I wrap the changes to the table in a BeginUpdate/(update table)/EndUpdate/Refresh code block? Or just update the table and let the grid handle the rest? Thanks, Brian

Administrator [Syncfusion]
Replied On March 3, 2005 09:45 PM UTC

I have also noticed that the groupings do not update (they remain how they were originally grouped, even if that underlying column changes. Thanks.

Administrator [Syncfusion]
Replied On March 4, 2005 12:07 AM UTC

If the data being updated is randomly distributed, I would just let the grid handle it. If the updated data is in large contiguous blocks, you might be able to get a little better performance using BeginUpdate/EndUpdate.


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

Live Chat Icon For mobile
Live Chat Icon