Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1160
Grand totals
posted

Hi,

Our app needs to display a count and grand totals outside of the xamDataGrid and not show any summaries/totals inside of the grid.  I've tried using the summaries feature (like your features browser sample) by catching the SummaryResultsChanged event.  But I can't get it to work without showing the grand totals somewhere within the grid depending on the combination of settings.  In reviewing the featuresbrowser code (in AccessSummaryResults_Samp xaml & xaml.cs) your example only works because you initially set the SummaryDisplayArea to "BottomFixed" (or anything other than "None") which of course causes the summary row to display.  Changing your sample code so that the initial setting is "None" causes the SummaryResultsChanged event to never fire.  So it appears that I can't achieve what I need to do via the grid. 

Is this correct or is there a bug in the grid?

I can't just initially set the SummaryDisplayArea to something other than "None" and change it to "None" after I load the grid as updates occur to the underlying observablecolleciton on a separate thread and the ui tier doesn't know when loading and updates occur or when they are finished. 

I've also tried re-templating the SummaryResultsPresenter to force it to collapsed but that didn't work either.

Any ideas/thoughts on how to have access to the summary info without displaying the summary row within the grid?

Thanks!

Glenn