I am using a flatdatasource and would like the xampivotgrid to display changes in the actual data values either on a button click or automatically. So if the data is modified by another control or in the background I want to refresh the values as efficiently as possible.
I cannot find how to do this. The RefreshGrid method does not seem to reflect my data changes so can someone please help?
Regards,Doug Rees
Polo Ralph Lauren
Hi,
This will be fixed in the upcoming SR planned for the next week.Regards.PPilev.
Are there any plans to support INotifyPropertyChanged events in the future? This would be extremely useful for my current application. I am now trying to implement the live updating methods found in the samples browser but I with the cells would update without having to refresh the whole grid display.
Hello,
Thank you for your feedback. I'll try to reproduce your case and write you back.
Best regards.PPilev.
I am trying to assign the new 11.1 XamPivotGrid Datasource.ItemsSource to a CollectionView which filters an undelying observable collection. Every time the filter changes, my app crashes with the following error:
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object. at Infragistics.Olap.FlatData.FlatDataSource.OnChangeableDataProviderSourceChanged(DataProviderSourceChangedEventArgs e) at Infragistics.Olap.DataSourceBase.OnChangeableDataProviderSourceChanged(Object sender, DataProviderSourceChangedEventArgs e) at Infragistics.Olap.FlatData.FlatDataModelProvider.OnDataProviderSourceChanged(DataProviderSourceChangedEventArgs args) at Infragistics.Olap.FlatData.FlatDataModelProvider.<>c__DisplayClass1b.<OnUpdateHierarchiesData>b__1a(Object e) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state) at System.Threading.ExecutionContext.runTryCode(Object userData) at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg) at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame) at System.Windows.Threading.Dispatcher.Run() at System.Windows.Application.RunDispatcher(Object ignore) at System.Windows.Application.RunInternal(Window window) at System.Windows.Application.Run(Window window) at System.Windows.Application.Run()
This seems similar to the exception on this forum thread. Could you please tell me if there is any special handling required to use the aforementioned fix in 11.1?
Thanks
Where can someone find a list of items that have been fixed in the 11.1 release?