Hi Support, I am using 10.3 Infragistics for WPF. In my application I have Xamcomboeditor inside xamdatagrid l. I am trying to set SelectedItem of Xamcomboeditor with the help of converter but I am getting red box around comboeditor. I want to set SubDept1 by default in SubDepartmet column for all rows.
Here I am attachin a sample application. Please review this and suggest the solution for same.
Thanks
Hello Rheal,
Thank you for contacting Infragistics. The cells do not think the values are suitable and therefore throwing an error. A quick fix for this is to modify the Validation Error template to remove the red borders in your SubDepartmentFieldStyle.
eg. Add a setter for Validation.ErrorTemplate
<Setter Property="Validation.ErrorTemplate"> <Setter.Value> <ControlTemplate > <DockPanel> <Border > <AdornedElementPlaceholder /> </Border> </DockPanel> </ControlTemplate> </Setter.Value> </Setter>
Let me know if you have any questions.