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
1705
I can't get my combo to display any data
posted

I'm creating a combo with:

<igEditors:XamComboEditor Grid.Column="1" Grid.Row="1" Name="xamCombo1" >
   <igEditors:XamComboEditor.ItemsProvider>
      <igEditors:ComboBoxItemsProvider />
   </igEditors:XamComboEditor.ItemsProvider>
</igEditors:XamComboEditor>

And then trying to bind it to a data table with two columns thusly:

xamCombo1.ItemsProvider.ItemsSource = dataTable.DefaultView;
xamCombo1.DisplayMemberPath = "column1";
xamCombo1.ValuePath = "column2";

When I run it, the combo drops down but all it says is "System.Data.DataRowView" for each item and when I select one, that's what I get in the textbox portion of the combo.  I'm obviously seeing the ToString() function of each dataRow.  How do I get the actual data to appear?