May 30th, 2013, 04:34 AM
How to display multiple column ComboBox in DataGrid?
I have requirement where I have to display a multi-columns ComoboBox in DataGrid. I am using Telerik WPF RadGridView and RadComboBox.
I decided to modified RadComboBox ControlTemplate to include RadGridView and partially I able to achieve the requirement but still facing below mentioned issues. The reason behind placing RadGridView insde ComboBox is to display column title and to allow sort.
1. The ComboBox not closing when I select an item from ComboBox.
2. The selected value should be displayed in Grid column and it should be the assign to SelectedValue property of ComboBox.
I have tried setting IsDropDownOpen property to false on SelectedItem property of ComboBox but it also not working.
Please help to resolve this issue. PFA image to understand requirement.
Tags for this Thread
Click Here to Expand Forum to Full Width