or
Hello
I have lookup in combo box column in grid
The problem is the filter display the value of the lookup
I need to display the Name property in the look up and select the value property
Unfortunately I can't Attached picture look at the telerik demos
Grid view -> columns->combo box column->classic binding to object
Best regards
Ehud

| //_availableOnBoardSalesProducts is of the type ObservableCollection<Products> |
| gridFood.ItemsSource = _availableOnBoardSalesProducts; |
| myListBox.ItemsSource = _availableOnBoardSalesProducts; |
| //Add an item to the ObservableCollection works fine in the RadDataGrid |
| private void Button_Click(object sender, RoutedEventArgs e) |
| { |
| _availableOnBoardSalesProducts.Add(new OnboardSalesService.Products() { Price = 10m, Description = "MyDesc", Category = "MyCat" }); |
| } |
| //But applying a filter only works fine for the standard ListBox - not for the RadDataGrid |
| private void Button_Click_1(object sender, RoutedEventArgs e) |
| { |
| ICollectionView view = CollectionViewSource.GetDefaultView(gridFood.ItemsSource); |
| if (view.Filter == null) |
| { |
| view.Filter = delegate(object item) |
| { |
| bool result = ((OnboardSalesService.Products)item).Price == 10m; |
| return result; |
| }; |
| } |
| else |
| { |
| view.Filter = null; |
| } |
| } |