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)
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.
Hi Nikolay,
My solution is just a workaround, it's possible to you to confirm if the control supports any other alternative to show this totals automatically. Like I´ve said, the Infragistics Windows Forms UltraGrid has this feature without any code.
Hi,
This is a feature request. Please submit one. The more requests we get, the higher the priority a feature can get in the back log. We take these into account when deciding what gets implemented next.
regards,David Young
OK,
Where I can submit one feature request?
Thanks,
Miguel Ganilho