Reputation: 23
I guest similar questions to this one could have been asked, I still need an answer or example. I need to make sure that, the built-in WPF Datagrid, does it support combobox column editing or not? If it does, please provide me a working example. Though I may find several, even a lot, they have some of the following problem:
1.Outdated, cannot compile with the current Visual Studio (2013 or 2015)
2.Not working
3.Needs a 3rd party control, like WPF Toolkit. This is even more confusing. I may find a lot of different versions, and not working as well. Right now I only want to know whether the built in Datagrid may work or not.
4.combobox options not from a Key-Value list (or some other list). I know I need to specify SelectedItemBinding, SelectedValueBinding, SelectedValuePath, isplayMemberPath. It is so confusing. I just can't get it work.
I've tried ObservableCollection. Do not what went wrong. If you have a really work sample, please just reply me with the code. Thanks!
Upvotes: 1
Views: 7754
Reputation: 3164
As metioned by @Ed Plunkett in the comments, use this answer which have a great Datagrid with combobox column example
Upvotes: 1