Hello,
This is my context:
When I group by one column and I have another with a summary activated (normally the "sum") the grid shows only one summary row at the end. It's possible to have one summary row by group or the totals in group header (like in Infragistics Windows Forms UltraGrid)?
I've read several similar posts but I just can't get a clear answer.
Thanks.
After many tries, I've found a workaround: calculate the group summaries "by hand".
Here's my solution:
create a new sub (I did it inside a new global module) called ShowSummariesInGroups (in attachment)
call the sub inside the WebHierarchicalDataGrid GroupedRowInitialized event
Private Sub WebHierarchicalDataGrid1_GroupedRowInitialized(sender As Object, e As Infragistics.Web.UI.GridControls.GroupedRowEventArgs) Handles WebHierarchicalDataGrid1.GroupedRowInitialized
ShowSummariesInGroups(sender, e)
End Sub
I hope it can be useful to someone.
Hi miguelganilho,
Thank you for sharing your code and sample with the community.
If you have any other questions, please do not hesitate to ask.