The configuration of the DisplayMemeberPath isnt used to display the value in the combobox.
Example :
public class Person
{
public string FirstName {get;set;}
public int CountryId {get;set}
}
public class Country
{
public int Id {get;set}
public string Name {get;set}
}
Let's consider a SfTreeGrid bind to a list of persons and with a column defined so :
<Syncfusion:TreeGridComboBoxColumn DisplayMemberPath="Name"
HeaderText="Country"
ItemsSource="{Binding DataContext.Countries, RelativeSource={RelativeSourceAncestorType=referenceDataManagement:PersonEditorView}}"
MappingName="CountryId"
ValueBinding="{Binding CountryId,Mode=TwoWay}"
SelectedValuePath="Id"/>
Then, the bind is working correctly (update the country of the person) but always the Id is displayed instead of ther Country name.
Thanks for your help.