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
395
How do I get 'SelectionChanged' event from a combobox in the grid?
posted

Hello Infragistics team.

I have a need to harness the event for 'SelectionChanged' from a combobox that is embedded in a xamDataGrid.

I need this event to fire whenever a user changes the selection, and to be able to determine the record where the change occurred.

My XAML for the combobox is very simple. In the grid resources I've got:

 

 

 

<

 

igEditor:ComboBoxItemsProvider x:Key="GridProcessorColumn" />

 

 

 

    <Style x:Key="ProcessorColumnStyle" TargetType="{x:Type igEditor:XamComboEditor}">

 

 

 

    <Setter Property="ItemsProvider" Value="{StaticResource GridProcessorColumn}" />

 

 

 

</Style>

And the code-behind sets it up (in the FieldLayoutInitialized method) with something like this:

processor.Settings.EditorStyle = xamDGOpenInfr.TryFindResource(

 

"ProcessorColumnStyle") as Style;

Can someone tell me please how to accompish this? I'm still new to WPF/Infragistics and I have no idea how to set up the code to give me the event that I'm after.

Thanks!

Parents Reply Children
No Data