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. Image for the cookie policy date

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

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.

1 Reply

AD Administrator Syncfusion Team 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.

Live Chat Icon For mobile
Up arrow icon