An attempt was made to set the value of a cell that is not yet associated with a grid. – is the Error Code
following the DataBinding Example, I followed the same type of pattern in my databinding of the grid. The error occurs on gridControl1.DataSource = null;
I’m using the DataView as the DataSource, when the LeavingEdit fires I’m updating my DataSource and bring back the updated view to rebind to the gridcontrol. So, I’m using the pattern from the example(DataBinding). Inside the ResetGrid method, the call to set gridControl1.DataSource = null; gives the error explained above.
Imported from legacy forums. Posted by Diddy (had 2841 views)