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
920
Show combobox inside the grid using MVVM
posted

Hi,

   My question is similar to the question on this thread https://ko.infragistics.com/community/forums/t/34846.aspx.

I studied the sample code sample download from the thread and applied it to my solution with changes to obsoleted segments and I cant get it to work. The comboboxes are not showing up. Please help.

Here is my code 

<igDP:Field BindingType="UseAlternateBinding" AlternateBinding="{Binding Path=SelectedCity, Mode=TwoWay}" Label="{x:Static localization:ManagerParameters.ModificationLabel}" Visibility="Visible">
<igDP:Field.Settings>
<igDP:FieldSettings EditorType="{x:Type igEditors:XamComboEditor}">
<igDP:FieldSettings.EditorStyle>
<Style TargetType="{x:Type igEditors:XamComboEditor}">
<Setter Property="ItemsSource" Value="{Binding DataPresenter.DataContext.Cities}"/>
</Style>
</igDP:FieldSettings.EditorStyle>
</igDP:FieldSettings>
</igDP:Field.Settings>
</igDP:Field>

Thanks,

Lala