Hi,
I am using SummaryDefinition to show group level sum totals. This is diplayed as:
+ GroupName (5 items) TotaQuantity TotQty = 25, TotalCost TotCost = $1500.45
Here is what I want: (1) NOT display (5 items), (2) Not display the actual field names (TotalQuantity and TotalCost) in the summary line.
Thanks.
Hello Jay,
Thank you for your post! I have been looking into it and I could not fully understand your scenario. Would you please explain, which part of the label in the GroupByRecordPresenter should be displayed and which not.
Looking forward to hearing from you.
My actual code is very similar to the following example on Infragistics website:
http://help.infragistics.com/Help/NetAdvantage/WPF/2011.2/CLR4.0/html/InfragisticsWPF4.DataPresenter.v11.2~Infragistics.Windows.DataPresenter.FieldLayout~SummaryDefinitions.html
I am using C# code behind. By default, the summary line shows the number items, the field name and the summed value. I do not want to show the number of items and the fieldname.
In the above example, i guess, for summaryDef1 we will get:
(N items) Price Avg=$NNN.NN
I want it to show just Avg=$NNN.NN
Thanks,
I have been looking into your issue. What I can suggest is to create a custom summary calculator that returns the string value you wish to use. Here are two links –one to our documentation, where you can read more about the custom summary calculator. The second is a link to a forum thread you can find more detailed information about the above mentioned approach:
http://help.infragistics.com/Help/NetAdvantage/WPF/2012.2/CLR4.0/html/xamDataPresenter_Creating_a_Custom_Summary_Calculator.html
http://ko.infragistics.com/community/forums/t/21810.aspx.
Please do not hesitate to let me know if you need any further assistance on the mater.
Thanks. This looks like something I can try out. Will re-post if I have any further questions.
Thank you for the feedback. Please do not hesitate to let me know if you have any further questions on the mater.
I am just checking your progress on the issue. Please do not hesitate to let me know if you have any further questions on the mater.
Well, I need to check the custom summary calculator - haven't tried it as yet. Will re-post if I have further questions.
Thank you for the feedback. Please do not hesitate to let me know if you have any further questions.