I'm using WPF RadGridView Q3-2010.
My purpose is to set the column template based on its data context while in edit mode. When not in edit mode the column will have triggers to customize the template.
I’m using CellEditTemplateSelector for switching templates according to the data context, but when I tried to enter triggers to the DataTemplate of the GridViewDataColumn.CellTemplate - I found that these triggers don’t work.
I read in this forum that in order to work with triggers on RadGridView, I need to set the ContentTemplate of the GridViewCell within the GridViewDataColumn.CellStyle attribute. After doing so, the triggers started to work, but the CellEditTemplateSelector Stopped working correctly. The Selector chooses the right template but the grid doesn’t use it, Moreover, the Data Context has been changed causing the grid to stop showing data after it enters the Edit Mode.
What do I need to do in order to make the triggers work with the edit template selector?