good evening
I have a little problem with my DataGridView in a .NET Windows Forms project. The grid is read-only and bound to a sortable BindingList<T>one that contains custom business objects. My business object class implements IEditableObject.
BindingList<T>
IEditableObject
Now methods BeginEditand EndEditcalled all the time while navigating in a grid. Is there a way to prevent the use of a grid or snapping source? It is explicitly set as read-only (ReadOnly = true), so there is no reason (no, let me tell you carefully that I don’t see) to call these methods again and again.
BeginEdit
EndEdit
Thanks for reading:)
Matthias
, DataGridView /, IEditableObject , ...
, BindingList DataGridView.DataSource .
, EditMode DataGridView, IEditableObject.EndEdit() BusinessObjects.
, BUG ... .
. 100%, ... , - .
?
Source: https://habr.com/ru/post/1699415/More articles:definition of a file name? - filesystemsOpen Source Web Service / Media Streamer WCF - web-servicesFinding out if an LDAP user is blocked in Sun Directory Server 5.2, in Java - javaMySQL and C Applications - c ++Can CVS comments be binding? - cvsCompiling a Castor schema creates a different class hierarchy depending on the elements of the schema - javarelease configuration management - version-controlBest .Net library for editing WMA tags? - .netСохранение кода JavaScript в после возврата ASP.Net. - javascriptWaitCursor on sorting in a DataGridView - sortingAll Articles