Hi there,
I’m facing a problem if I use the XamComboEditor in the XamDataGrid and predefine the SelectedItem property. The problem occurs if you open the first time the dropdown-menu and then lose focus without selecting a new Item, like you click in another record.
I attached an example with this behavior.
BR
Andreas
Hallo Zhivko,
Thanks for checking in, but my both issues are gladly solved.
Hello Andreas,
I am just checking about the progress of the issue. Please let me know if you need any further assistance on this matter.
Thank you for your reply. I am very glad that the approach I have suggested helped resolving your issue. Please feel free to write me if you need further assistance on this matter.
Hello Zhivko,
Thank you again for your fast and helpful answer, now it works like a charm. I totally read over the part with the UnboundField DataType-Property.
BR and have a nice weekend
Thank you for your post.
I have been looking into the behavior that you are getting and the reason for it is the UnboundFields are threating its values as strings. In order to avoid this you can set DataType of the UnboundField to City and also EditorType to XamComboEditor.. I have modfieid the sample application that you have provided, to show how you can implement this approach.
Please let me know if you need any further assistance on the matter.