Hello,
I have a template column in my XamGrid with a SumSummaryOperand that has the IsApplied property set to true.
My project uses MVVM and when the ItemsSource of the XamGrid is set to null, the IsApplied property of the SumSummaryOperand gets (undesireably) set to false. So, when the ItemsSource is set back to a collection, the summary is not displayed.
I put together a sample app to demonstrate. If you click the bind button, it runs a command that sets the ItemsSource to null, then to a new collection. The first time the button is clicked, you will see the summary. All subsequent times the button is clicked, the summary row will be blank.
If you comment out line 45 of TheViewModel.cs, then try the same test, you will see that the summary is never blank because IsApplied remains true.
Before running the app, please copy the following assemblies to the Libraries folder (they did not fit within the 200kb upload limit): InfragisticsSL4.v10.3.dll and InfragisticsSL4.Controls.Grids.XamGrid.v10.3.dll.
Does anyone know of a workaround for this issue? In the larger app that this issue affects, it is not as simple as ensuring that the ItemsSource is never set to null. One thought was to programmatically set IsApplied back to true whenever the ItemsSource changes, but there doesn't seem to be such an event to handle.
Thanks.
Ok I figured what is going on thanks to your sample. I will have our DS staff contact you to open a case so you can track this issue through our system. This will allow you to be notified when the fix is made available.
Darrell,
Since upgrading to v2011.1 this same issue has returned. Can you reopen the case or open another one for me?
Please let me know how can I fix this issue.
I am using NetAdvantage 2011.1.
I'm very interested in this issue. Is the fix available now? Please let me know.
If the fix is not too involved, would you mind sharing it with me so that I can update the XamGrid source temporarily? We are packaging a release on Friday (6/17/11) and it would be great to have this fixed in the build.
Thanks for your assistance.
Thanks Darrell!