Updating underline DataTable via a seperate thread

Hi there,

I have this problem. A GridListControl is bound to a DataTable, and a second thread inserts new rows to the DataTable. When it happens, the grid throws a "Grid is in updating mode" exception.

Can someone tell me how I should handle this situation?

Thanks very much,

Frank

1 Reply

AD Administrator Syncfusion Team November 15, 2006 04:25 AM UTC

Hi Frank,

The error which you have mentioned, is an indication of threading issues. Any calls into the GridListCotnrol must be done on the thread that creates it, and you can use GridListControl1.InvokeRequired to check for this. Please check the below Knowledge Base(KB) article link which discuss with the simillar issue.

http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=78

Best Regards,
Haneef

Loader.
Up arrow icon