Home Forums WinForms controls Xceed Grid for WinForms An attempt was made to select a row that does not belong… Reply To: An attempt was made to select a row that does not belong…

User (Old forums)
Member
Post count: 23064

I find what causing the grid to freak.

In one specific case, I manually update a field which is not shown.  “myBindingSource.current(“my_field”) = myNewValue”.

I have multiple table in my dataSet.  The main table and some sub-tables.  The xceed grid is used to display data in sub-tables.  The value I’m updating is on the main table (which the grid doesn’t do anything with it).  And the bug only occur if the save method is called and then the user made a modification in a cell and then the event valueChanged of the cell call the line above.

The fixe I used is to use a binded text field.

Imported from legacy forums. Posted by Daniel (had 3315 views)