Posted 13 June 2023, 7:50 pm EST - Updated 13 June 2023, 7:55 pm EST
We are facing one issue and need your support on the same.
We have a C1DataGrid and inside that we have DataGridTemplateColumn. To that column, we have a ComboBox. Below is the screenshot of xaml. (Image1.png).
when the user changes the value from the dropdown we get our task done correctly on the selection changed event. (Image2.png)
Our issue is when the user scrolls the mouse wheel on ComboBox, the value in ComboBox changes which we don’t want to happen.
We are not able to handle the MouseWheel event for ComboBox as it is giving compile time error of using EventSetter. We also tried creating EventSetter under style but its associated Handler is not getting fired.
Could you please guide us on how to avoid mouse wheel scrolling on ComboBox located inside DataGridTemplateColumn?