I have a client that has grid reports with multiple summary rows, like below. The first summary row represents Totals (summation) and the second row is for Average. How can I remove the "Totals/Average" caption and instead have "Totals" appear in front of the first row and "Average" appear in front of the second row?
Kind Regards,
Hello,
The image that you posted was not shown correctly.
Before I assist you, could you please reply to this message with the image in a .zip file?
Sincerely,AndrewDeveloper Support IInfragistics Inc.www.infragistics.com/support
The zip file is attached.
Hello Albert,
Just checking in, do you have any other questions or concerns on this matter?
After looking into your case and doing some research, labels for summaries that span the entire grid has been determined to be a new product idea. You can suggest new product ideas for future versions (or vote for existing ones) at <http://ideas.infragistics.com>.
There are many benefits to submitting a product idea:
- Direct communication with our product management team regarding your product idea.
- Notifications whenever new information regarding your idea becomes available.
- Ability to vote on your favorite product ideas to let us know which ones are the most important to you. You will have ten votes for this and can change which ideas you are voting for at any time.
- Allow you to shape the future of our products by requesting new controls and products altogether.
- You and other developers can discuss existing product ideas with members of our Product Management team.
Steps to create your idea:
1. Log into the Infragistics Product Idea site at http://ideas.infragistics.com (creating a new login if needed).
2. Navigate to the product / platform channel of your choice (e.g. WPF, Windows Forms, ASP.NET, HTML5 / Ignite UI, iOS / NucliOS, etc.)
3. Add your product idea and be sure to be specific and provide as much detail as possible. Explain the context in which a feature would be used, why it is needed, why it can’t be accomplished today, and who would benefit from it. You can even add screenshots to build a stronger case. Remember that for your suggestion to be successful, you need other members of the community to vote for it. Be convincing!
The Product Idea site puts you in the driver’s seat and allows you to track the progress of your ideas at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you.
Thank you for contacting Infragistics.
Thank you for the sample project, Andrew. My apologies, but I should have been clearer on what I am trying to achieve.
In the picture I posted, the first column (which displays dates) has no summaries. The second and third columns each have a Totals and Average summary. Since each cell in a summary row is configured to use the same summary type, the client does not want to have each summary cell displaying a caption that includes the summary type since that is redundant (see the attached redundantSummaryRowTypeCaptions.png from your sample project). They just want to display the value in the cell. To avoid that redundancy, we are currently using
fieldLayout.SummaryDescriptionMask = "Totals/Average";
and the result is the picture from my original post.
What the client is asking for is to display "Totals" once, at the beginning of the first summary row and "Average once, at the beginning of the second row. (see the attached desiredResults.png which I used MS Paint to move text around). Is this possible?
I was unable to reproduce the behavior you're describing. The steps I took were that I created a XamDataGrid and populated it with numeric data. I allowed summaries and set the summary location to Bottom Fixed. After activating sum and average, it showed with the labels next to each.
I have attached the sample project I used to test this. Please test this project on your PC; whether or not it works correctly may help indicate the nature of this problem.
If the project does not work correctly, this indicates either a problem possibly specific to your environment, or a difference in the DLL versions we are using. My test was performed using version 14.1.20141.2027 in Infragistics for WPF Version 14 Volume 1.
If the project does show the product feature working correctly, this indicates a possible problem in the code of your application. It will help if you can provide a small, isolated sample application that demonstrates the behavior you are seeing.
Or, if this sample project is not an accurate demonstration of what you're trying to do, please feel free to modify it and send it back, or send a small sample project of your own if you have one.
Please let me know if I can provide any further assistance.