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
2915
how to add SelectedItemChanged event in XamGrid with ComboBoxColumn
posted

Hi , 

I have defined one XamGrid  with ComboBoxColumn.

<ig:XamGrid x:Name="ManageRecipeStateGrid" AutoGenerateColumns="False"  ColumnWidth="*" ItemsSource="{Binding ManageRecipeStateResults}">

 

                        <ig:XamGrid.GroupBySettings>

                            <ig:GroupBySettings AllowGroupByArea="Hidden" GroupByOperation="MergeCells" />

 

 

                        </ig:XamGrid.GroupBySettings>

                        <ig:XamGrid.Columns>

                            <ig:TextColumn Key="RecipeKey" Visibility="Collapsed" />

 

 

                            <ig:TextColumn Key="MandatoryCriteriaList" HeaderText="Recipe" IsReadOnly="True"  >

 

                            </ig:TextColumn>

                            <ig:TextColumn Key="RecipeVersion" HeaderText="Version" IsReadOnly="True">

 

                            </ig:TextColumn>

                            <ig:TextColumn Key="PreviousRecipeState" Visibility="Collapsed" />

 

 

                            <ig:ComboBoxColumn   Width="120" HorizontalContentAlignment="Stretch" 

                                   ItemsSource="{Binding Source={StaticResource optionList}}" Key="CurrentRecipeState"

                                   SelectedValuePath="State"

                                   DisplayMemberPath="State"

                                    AllowEditingValidation="True" HeaderText="Recipe State">

 

                            </ig:ComboBoxColumn>

                            <ig:CheckBoxColumn Key="IsPreserved" HeaderText="Preserve Recipe">

 

                            </ig:CheckBoxColumn>

                        </ig:XamGrid.Columns>

 

                        <ig:XamGrid.EditingSettings>

                            <ig:EditingSettings AllowEditing="Hover" />

                        </ig:XamGrid.EditingSettings>

                    </ig:XamGrid>

 

Now I want to handle the event whenever I change the item selection in ComboBoxColumn. How I can handle this ?

Parents Reply Children