Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
210
Disable WinGrid from automatically updating from datasource
posted

I have a wingrid that is bound to a datatable.  I create a new asynchronous thread and from that thread make a remote server call passing the datatable.  When the server call is completed the wingrid automatically refreshes to show any changes.  However, since this is not being done on the main UI thread of the program, we will often get an error where the control goes whilte and a big red X appears in it.

Is there a flag to set the wingrid to not automatically upate when the datasource changes?  I would like to turn it off before the remote server call and turn it on again after I am back on the main thread.