Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
605
XamComboEditor: Binding-Problem
posted

Hello

I am using a XamComboEditor (2014.2).
As ItemsSource I have a datatable with a string column named "unit".
The content is for example "A", "B", "C".
Bound with this control is a datarow and the containing column "unitvalue".

The XAML-code is as follows:
<ig:XamComboEditor SelectedValue="{Binding Path=[UnitValue]}" DisplayMemberPath="Unit" SelectedValuePath="Unit" />

If unitvalue is "A", "B" or "C" the binding is working correctly.
However if the unitvalue is = "D" then the previous value of the combobox just remains.
Correct function would be, that the selection in the XamComboEditor is empty.
What do I need to do, in order to achieve a functioning XamComboEditor as described above?

Best wishes,

A. Kasar