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.
Syncfusion Feedback

What''s the best way to synchronize dynamic grid updates with user clicking/scrolling

Thread ID:

Created:

Updated:

Platform:

Replies:

17243 Aug 4,2004 11:38 AM UTC Aug 4,2004 01:55 PM UTC Windows Forms 1
loading
Tags: GridControl
Mike
Asked On August 4, 2004 11:38 AM UTC

What''s the Syncfusion recommended way to synchronize dynamic grid updates for a virtual grid with user clicking/scrolling? The changes arrive from multiple threads adding, deleting or updating rows. At the same time a user can select a row to perform an action or scroll the grid.

Administrator [Syncfusion]
Replied On August 4, 2004 01:55 PM UTC

If all your user can do is scroll and not really change anything, then there should probably be no need to lock objects if you use synchronous grid.Invoke calls after doing grid.InvokeRequired checks in the places where the grid may be called from another thread. One way to get a little more through put is to batch the updates on the different thread, and then only try call into the grid every so often with severasl updates instead forcing the grid to respond to every update that comes in. Here is a little sample.

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.

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

;