I have 3 tables: Item - which is the DataContext - it has a navigation column Group Group - has a navigation column Category.
I want to have in the DataGrid both (Ca
The columns in the datagrid don't have a datacontext, as they are never added to the visual tree. sound a bit weird but have a look at vince's blog, its got a good example of the visual layout. once the grid is drawn the cells have a data context and you can set the combo boxes items source in them using normal bindings (not static resources..)
You can access the combo box items source as such:
Have a look here and also here for some code. You will also need to set the items source for the non edting element as in this post