Hi Ondrej,
Thank you for contacting Syncfusion Support.
We would like to let you know that the cell value of GridComboBoxColumn will be updated only while changing the underlying property (MappingName) that is bound to the column, when ItemsSource for grid and ComboBox column are same. If you are using different underlying business objects for both grid and ComboBoxColum, the property changes in combobox column will not be listened and hence the cell value will not be updated. This is the default behavior of SfDataGrid.
If you are still facing the same issue, can you please revert us with the code files related to SfDataGrid and ComboBox column settings? This will helps us to investigate further and provide appropriate solution at earlier.
Regards,
Dinesh Babu Yadav.
I have the same issue with this,
this is my code
<Syncfusion:SfDataGrid
Name="WallInput"
AllowDeleting="True"
AllowEditing="True"
AllowResizingColumns="True"
AllowResizingHiddenColumns ="True"
AutoGenerateColumns="False"
ColumnSizer="Auto"
EditTrigger="OnTap"
SelectionUnit="Row"
ItemsSource="{Binding SupportInfos}"
LiveDataUpdateMode="AllowChildViewUpdate">
<Syncfusion:SfDataGrid.Resources>
<Style TargetType="TextBox" />
<Style TargetType="ComboBox" BasedOn="{StaticResource MahApps.Styles.ComboBox}"/>
</Syncfusion:SfDataGrid.Resources>
<Syncfusion:SfDataGrid.Columns>
<Syncfusion:GridTextColumn HeaderText="ID"
MappingName="Id"/>
<Syncfusion:GridComboBoxColumn HeaderText="Support Type"
MappingName="PointSupportType"
ItemsSource="{Binding Source={StaticResource SupportTypes}}"/>
<Syncfusion:GridComboBoxColumn HeaderText="Support Name"
MappingName="SupportInfo"
ItemsSource="{Binding JobModel.EngineerMemberList}"
UseBindingValue="True"
DisplayMemberPath="EngineerName"/>
<Syncfusion:GridComboBoxColumn HeaderText="Size Grade"
MappingName="SupportInfo.RealSizeGrade"
UseBindingValue="True"/>
</Syncfusion:SfDataGrid.Columns>
</Syncfusion:SfDataGrid>
if i using MappingName="SupportInfo.RealSizeGrade" then if i changed RealSizeGrade form code behind, display text will be update to view
but if i using MapingName ="SupportInfo" and DisplayMemberPath="RealsSizeGrade" like this, the Display text will not update to view
<Syncfusion:SfDataGrid
Name="WallInput"
AllowDeleting="True"
AllowEditing="True"
AllowResizingColumns="True"
AllowResizingHiddenColumns ="True"
AutoGenerateColumns="False"
ColumnSizer="Auto"
EditTrigger="OnTap"
SelectionUnit="Row"
ItemsSource="{Binding SupportInfos}"
LiveDataUpdateMode="AllowChildViewUpdate">
<Syncfusion:SfDataGrid.Resources>
<Style TargetType="TextBox" />
<Style TargetType="ComboBox" BasedOn="{StaticResource MahApps.Styles.ComboBox}"/>
</Syncfusion:SfDataGrid.Resources>
<Syncfusion:SfDataGrid.Columns>
<Syncfusion:GridTextColumn HeaderText="ID"
MappingName="Id"/>
<Syncfusion:GridComboBoxColumn HeaderText="Support Type"
MappingName="PointSupportType"
ItemsSource="{Binding Source={StaticResource SupportTypes}}"/>
<Syncfusion:GridComboBoxColumn HeaderText="Support Name"
MappingName="SupportInfo"
ItemsSource="{Binding JobModel.EngineerMemberList}"
UseBindingValue="True"
DisplayMemberPath="EngineerName"/>
<Syncfusion:GridComboBoxColumn HeaderText="Size Grade"
MappingName="SupportInfo"
DisplayMemberPath="RealSizeGrade"
UseBindingValue="True"/>
</Syncfusion:SfDataGrid.Columns>
What i need is using DisplayMemberPath to display value form ComboboxColumn and it can update value if i change value of Property form BackGround. Plase help