Hello. I'm having trouble creating a multi-column XamCombEditor inside a XamDataGrid. I can only get one column to display when setting the DisplayMemberPath property. How do you get it to display a whole row as well as a header? I've attached a sample project that is set up in a way that my main application is. Your help is greatly appreciated. Thanks.
Hi Kris,
Thank you for your post. I was looking into your requirement and I was wondering why you do not use our XamMultiColumnComboEditor control instead of XamComboEditor in this scenario. The following link shows how you could use the XamMultiClumnCombEditor :
http://es.infragistics.com/community/forums/t/64041.aspx
Let me know, if you need any further assistance on this matter.
Hi,
Thanks for the suggestion. I just was not aware of this control. I'll give it a try.
Thanks again.
Hello. I have have the XamMultiComboEditor displaying correctly in my XamDataGrid but I'm getting an exception that I can't figure out. When randomly selecting a row from the XamMultiComboEditor I get the following exception:
An exception occurred at: 2014/12/17 10:15:13 AM Level: 1 -- Value cannot be null. Parameter name: current Source: PresentationFramework TargetSite: System.Windows.DependencyObject GetParent(System.Windows.DependencyObject) StackTrace: at System.Windows.LogicalTreeHelper.GetParent(DependencyObject current) at Infragistics.DragDrop.DragDropManager.GetUIElementParent(DependencyObject element) at Infragistics.DragDrop.DragDropManager.OnMouseLeftButtonDown(Object sender, MouseButtonEventArgs e) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at
I don't understand what is happening. I implemented the SelectionChanged method in the code behind. I can see the value that was selected but as soon as I exit this method the above exception is thrown. This happens randomly i.e. there is no consistent pattern on which row I select. Any idea?
Thank you for your reply. Let me know, if you need any further assistance on this matter.