Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

AddingNewItem method not called on datagrid combobox selection change in wpf datagrid

$
0
0
I have a WPF datagrid with first column as a data template column with combobox control. I allow the users to add rows to the datagrid. When the user changes the selection in combobox( which is the first column in the grid) the AddingNewItem method is not called. But when is the user clicks on the next column which is a datatextcolumn, the method is called. How can make the AddingNewItem method to be called on the combobox selection changed event.

Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>