BindingListCollectionView is the source for the DataGrid .
There is a form that displays each field of the selected row on the table. Data binding TwoMode .
When I use the BindingListCollectionView.CustomFilter DataGrid filled with filtered data, but when editing the field to which the filter was applied through the form, pops up or a warning in TextBox `e:
value cannot be null. key name
or exception:
System.ArgumentNullException: 'The value cannot be null.'
The appearance of a warning / exception depends on which field the filter is applied to.
Where the exception occurred the studio cannot determine. When editing data through the DataGrid , no errors occur, but in this case, editing through the table is prohibited for users.
Tell me, please, how to solve this problem?