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
1210
Enter key in XamMultiSelectionComboEditor loses selections
posted

I am using the code provided by Krasimir found here:

https://www.infragistics.com/community/forums/f/ultimate-ui-for-wpf/86076/multiselect-combobox-in-xamdatagrid-issue

With it I have a XamDataGrid where a column contains a XamMultiSelectionComboEditor where users can select multiple options from the list.  It works really well except that if a user selects options and uses the Enter key to accept and close (instead of clicking outside to lose focus), the selections are lost.

I have found that in OnEditModeEnding, the combo.SelectedItems is not updated with the selections and so while it is trying to save, the options aren't there to do it.

Can anyone suggest a fix?  I am using 18.2.