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
310
MultiColumnComboBox in XamDataGrid
posted

Hi there

I have data items with the following structure

  • Id
  • IdRelated-Text1
  • IdRelated-Text2
  • other Properties

I add the collection of the items to a XamDataGrid. It displays the columns as I like (IdRelated-Text1, IdRelated-Text2 and other properties). I disabled the auto generation of the columns. Now I like to add a MultiColumnComboBox to the cells of the two IdRelated-Text columns. The multi column combobox should display the two IdRelated-Text as columns in the drop down list of the combobox. When I select an item, it should change the value of the Id column (which is hidden) and not the IdRelated-Text columns directly.

What is the best practice to do that?

Thanks
Roman