I've used your DataGrid controls to create a table editor. The user is able to pre-define the types of each column they want, then when the window is opened the columns are created programatically. I would like to allow the user to enter nothing (null) in a cell if they choose to, however this doesn't seem possible when using a DataGridDoubleColumn, DataGridInt32Column, or a DataGridInt64Column.
If no value was ever entered, it displays the hint text "No value" as expected. If a value is entered then is deleted, the entered value is always preserved instead of going back to "No value".
Is there any way to achieve this functionallity? I have tried inheritting from each of the column types and overriding CommitCellEdit to try to see what is happening, however the InitialValue, EffectiveValue and Value properties of the edited cell all show the previous unwanted value, so I am unable to determine what's going on.
Any help would be much appreciated!
Many thanks in advance.