Home Forums WinForms controls Xceed Grid for WinForms SummaryCell or ValueCell – Need text and calc in cell Reply To: SummaryCell or ValueCell – Need text and calc in cell

User (Old forums)
Member
Post count: 23064

Have you tested this in release mode, or only in debug mode?  When testing on other PC’s, do you simply deploy your application along with the necessary grid’s dlls, running it outside Visual Studio?  The issue could be related to the debugger.

For the exception, what happens is that when calling AcceptChanges() on the entire DataSet, this sends a reset to the grid, which clears and recreates everything.  Thus the instance of the row you try to access is not part of the gird anymore, since this instance was cleared and a new one was created by the reset sent to the grid by the DataSet.  Remember that this row is accessed through a reference to a group that was kept before the call to AcceptChanges().

Imported from legacy forums. Posted by André (had 1647 views)