Hello,
When create following grid:
Code SubCode Description Price
1 1 Hammer 10
1 2 Nail 20
2 1 Screwdriver 10
When i group by code and subcode and i add a summary for price, i will only get summary totals for the subcode level, i will not get a summary total for the code level.
Is it possible to also have a summary total on code level and if so what properties need to be enabled?
Mike,
You are right, we are on the verge to migrate to version 2009.2 for the next version of the software. But before we arrive there (which may take a while to convert the app to .NET 3.5 as you can imagine), there was this request to have the totals on all levels.
I have quickly tested it out on the new version of the grid and you are right that it works. Altough i must say i don't find this solution too elegant. I would rather have liked to see a total row. But i guess it will serve the purpose just as well.
I can concider this issue as closed.
Thanks for all your help.
Best Regards,
Peter
Hi,
You're using a really old version of the controls. I don't have v7.1 or CLR1 installed any more. But I ran your sample with the olders version I have, which is v8.1 in CLR2. And it works just fine for me. I get summaries on both levels of groups as well as under the data rows themselves.
So my guess is that this was a bug in the version you are using and was fixed years ago.
You might want to try getting the latest service release and see if that help. If not, then the next best thing would be to upgrade to the latest version, which is v9.2.
How to get the latest service release - Infragistics Community
Hello Mike,
Yes i can... very simple. I created a new app with just some hardcoded data. I attached it to this post.
You will see that i have group on two fields code1 and code2, i have added a sum for the value field. Notice that when you run the app, there is only one summary per code2 group, there is no summary on code1. The total for example for code1="1" should be equal to 25+45=70. The total for code1 = "2" should be equal to 30 + 20 = 50
Bottom line, i only get the summary displayed on the second field... there is no total visible for the first field i grouped on.
I hope this helps make the problem clear
Maybe I am wrong, but I'm pretty sure the summary will display on every level of grouping by default. If it's not showing up, it might be some setting in your code that's causing that. Although, if there's a way to turn off a summary on a particular level, I'm not aware of it.
Can you post a small sample project that shows this occurring?