I have programmatically added a column to a grid. In the header filter, it is showing IDs next to the check boxes rather than friendly names. It is a 'GridViewComboBoxColumn'. Here is the code that is being used to create the column:
GridViewComboBoxColumn myColumn = new GridViewComboBoxColumn();
myColumn.Header = "Person";
myColumn.UniqueName = "Person";
myColumn.DisplayMemberPath = "FullName";
myColumn.DataMemberBinding = new System.Windows.Data.Binding("PersonId");
myColumn.SelectedValueMemberPath = "PersonId";
4 Answers, 1 is accepted
answered on 18 Jan 2012, 05:48 PM
Do you use the ItemsSource property or ItemsSourceBinding property of the combo column ?
The filtering UI will show the right values only in the case with ItemsSource property being used for the column.
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>