Good evening
I've got a little problem with my DataGridView in a .NET Windows Forms project. The grid is read-only and bound to a sortable BindingList<T>
which contains custom business objects. My business object class does implement IEditableObject
.
Now the BeginEdit
and EndEdit
methods are called all the time while navigating in the grid. Is there a way to prevent the grid or binding source from doing this? It is explicitly set to read only (ReadOnly = true), so there's no reason at all (no, let's carefully say that I see none) to call these methods over and over.
Thank you for reading :)
Matthias