Use inside DataGrid?

Mar 31, 2016 at 6:59 PM
Hello,

Forgive me if I am missing something easy here, WPF is new to me. I am trying to use the autocomplete inside a DataGrid control that has its source set to a datatable. Basically I have inserted a the autocomplete control inside the cell editing template for a specific column. The idea here is that I can tie the autocomplete to a SQL query to give users selection options when editing the field.

For the most part this works, the datagrid displays correctly and when I go into edit more the cell swaps over to the autocomplete box and searches fine. When I select an item I am getting "Two-way binding requires Path or XPath." Any idea how I can prevent this and simply return the selected value as text for that cell?