Hi,
I've gotten over the styling problem (see post) I was hoping this was going to solve another issue I was having in that the first record in the bound data set is displayed ABOVE the headers
Scrolling down moved the headers to the top of the upper bounds and they stay there, scrolling back up shows the first record above the headers.
Also once the filters window is open, clicking on the Add Condition button crashes the application with a TargetInvocationException.
Stack:
at Infragistics.Windows.DataPresenter.CellCollection.GetItem(Int32 index) at Infragistics.Windows.DataPresenter.CellCollection.get_Item(Int32 index) at Infragistics.Windows.DataPresenter.CellCollection.get_Item(String name) at Infragistics.Windows.DataPresenter.CustomFilterSelectionControl.ExecuteAddConditionCommand(Object source, Object originalSource, Object parameter) at Infragistics.Windows.DataPresenter.CustomFilterSelectionControl.ExecuteCommandImpl(RoutedCommand command, Object parameter, Object source, Object originalSource) at Infragistics.Windows.DataPresenter.CustomFilterSelectionControl.ExecuteCommandHandler(Object sender, ExecutedRoutedEventArgs e) at System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e) at System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding) at System.Windows.Input.CommandManager.FindCommandBinding(CommandBindingCollection commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boolean execute) at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute) at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e) at System.Windows.UIElement.OnExecutedThunk(Object sender, ExecutedRoutedEventArgs e) at System.Windows.Input.ExecutedRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object target) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted) at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated) at System.Windows.Input.RoutedCommand.ExecuteCore(Object parameter, IInputElement target, Boolean userInitiated) at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated) at System.Windows.Controls.Primitives.ButtonBase.OnClick() at System.Windows.Controls.Button.OnClick()
Any ideas would be really helpful. I'm wondering if the two problems are related in that the first record in the bound collection has values but the first record displayed in the grid (above the headers) is completely blank ... very odd.
Hello,
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.
It has been a while since you have made your post, in case you still need support I will be glad to assist you further. I suppose the other community members can benefit from this answer as well. I have been looking into your post, but it seems like I am missing something about your scenario, so if this is still an issue for you, could you please send me an isolated sample project, where this is reproduced, so I can investigate it further for you.
Feel free to write me if you have further questions.
Turns out this is a problem with the style I created (see the link to the previous post above). Not sure how to tackle this one.